~ecryptfs/ecryptfs/trunk

  • Committer: Tyler Hicks
  • Date: 2017-06-09 15:39:12 UTC
  • Revision ID: tyhicks@canonical.com-20170609153912-ltw0lodo5ps0aukl
Remove unreachable code when parsing mount opt name value pairs

Revision 886 introduced a change to the mount option parsing code for
name-value pairs. A break was added to a loop once the first '=' is seen.
Before the break was added, it was possible that a '=' would be seen, then
memory allocated for the name portion of the string, then another '=' could be
seen and the previous name string be freed and then reallocated. However,
there's no longer a chance of needing to reallocate the name string so the
free() is not needed.

Discovered by Coverity (CID 1375979)
Filename Latest Rev Last Changed Committer Comment Size
..
local 401 16 years ago Dustin Kirkland * debian/control, debian/copyright, debian/ecryp Diff
patches 309 16 years ago Dustin Kirkland debian/ubuntu packaging Initial checkin of the De Diff
po 438 15 years ago Dustin Kirkland * po/POTFILES.sh, po/ecryptfs-utils.pot, po/fr.p Diff
source 517 14 years ago Dustin Kirkland add debian source format move recover (again) Diff
changelog 892 8 years ago Tyler Hicks warn when recovering with a mount passphrase (LP: 92.4 KB Diff Download File
compat 595 13 years ago Dustin Kirkland * debian/compat, debian/control, debian/ecryptfs-u 2 bytes Diff Download File
control 873.1.6 9 years ago Tyler Hicks debian: Remove unnecessary dependencies on libkeyu 3 KB Diff Download File
copyright 737 12 years ago Dustin Kirkland * debian/copyright: - fix lintian warning 4.8 KB Diff Download File
ecryptfs-utils.docs 309 16 years ago Dustin Kirkland debian/ubuntu packaging Initial checkin of the De 22 bytes Diff Download File
ecryptfs-utils.install 595 13 years ago Dustin Kirkland * debian/compat, debian/control, debian/ecryptfs-u 121 bytes Diff Download File
ecryptfs-utils.lintian-overrides 595 13 years ago Dustin Kirkland * debian/compat, debian/control, debian/ecryptfs-u 378 bytes Diff Download File
ecryptfs-utils.postinst 884 8 years ago Tyler Hicks debian/ecryptfs-utils.postinst: Fix any unencrypte 4.8 KB Diff Download File
ecryptfs-utils.prerm 699 13 years ago Dustin Kirkland * debian/ecryptfs-utils.prerm: - drop the pre-re 1 KB Diff Download File
libecryptfs-dev.install 595 13 years ago Dustin Kirkland * debian/compat, debian/control, debian/ecryptfs-u 59 bytes Diff Download File
libecryptfs1.install 861 9 years ago Dustin Kirkland * debian/libecryptfs1.install, debian/libecryptfs1 16 bytes Diff Download File
libecryptfs1.links 861 9 years ago Dustin Kirkland * debian/libecryptfs1.install, debian/libecryptfs1 58 bytes Diff Download File
libecryptfs1.shlibs 864 9 years ago Tyler Hicks Update debian/libecryptfs1.shlibs to accurately sp 45 bytes Diff Download File
python-ecryptfs.install 595 13 years ago Dustin Kirkland * debian/compat, debian/control, debian/ecryptfs-u 17 bytes Diff Download File
File rules 873.1.1 9 years ago Tyler Hicks debian: Remove dependencies on opencryptoki packag 1.2 KB Diff Download File