summaryrefslogtreecommitdiff
path: root/src/fr-command-dpkg.c
AgeCommit message (Collapse)AuthorFilesLines
2019-02-20Avoid array index out of bounds parsing dpkg-deb --inforbuj1-2/+4
The first line of "dpkg-deb -I" output has only 5 words: old Debian package, version 0.939000. or new Debian package, version 2.0. Examples: $ wget http://archive.debian.org/debian/dists/Debian-0.93R6/binary/admin/acct-5-10.deb $ LANG=C dpkg-deb -I acct-5-10.deb old Debian package, version 0.939000. size 18338 bytes: control archive=1064, main archive=17260. 61 bytes, 3 lines conffiles 889 bytes, 20 lines control 570 bytes, 23 lines * postinst #!/bin/sh 107 bytes, 7 lines * postrm #!/bin/sh 212 bytes, 12 lines * preinst #!/bin/sh 212 bytes, 12 lines * prerm #!/bin/sh ... $ wget http://archive.debian.org/debian/dists/bo/main/binary-all/admin/alien_3.3.deb $ LANG=C dpkg-deb -I alien_3.3.deb new Debian package, version 2.0. size 20748 bytes: control archive=850 bytes. 394 bytes, 11 lines control 785 bytes, 13 lines md5sums
2019-02-20warning: Use of memory after it is freedrbuj1-1/+1
$ scan-build ./configure ... $ scan-build --keep-cc make ... fr-command-dpkg.c:76:23: warning: Use of memory after it is freed fdata->name = g_strdup (name); ^~~~~~~~~~~~~~~ ...
2014-11-22fixed missing prototype warninginfirit1-2/+2
From FR commit: fe3e6aa60ff370fb21475cf621fd86ad78c9303a From: Paolo Bacchilega <[email protected]>
2014-11-22removed wrong call to fr_process_startinfirit1-2/+0
Based on FR commit: 1b1b0e719d39b0edd4fa6a91ade14ca69b9c0222 From: Paolo Bacchilega <[email protected]>
2012-10-09Fixed fsf addresses. Closes #4.Steve Zesch1-1/+1
2011-11-30many renames from file-roller to engrampaStefano Karapetsas1-1/+1
2011-11-09initialPerberos1-0/+314