~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
..
old 607 13 years ago Dustin Kirkland * === added directory img/old, img/old/ecryptfs_14 Diff
COPYING 610 13 years ago Dustin Kirkland use the text version 21.7 KB Diff Download File
eCryptfs-badger-full-body.png 605 13 years ago Eddie Garcia Proposed eCryptfs logo 97.9 KB Diff Download File
eCryptfs-badger-icon.png 605 13 years ago Eddie Garcia Proposed eCryptfs logo 58 KB Diff Download File
eCryptfs-logo-final.png 605 13 years ago Eddie Garcia Proposed eCryptfs logo 48.2 KB Diff Download File
eCryptfs-logos+palette.pdf 605 13 years ago Eddie Garcia Proposed eCryptfs logo 785 KB Diff Download File
ecryptfs_14.png 609 13 years ago Dustin Kirkland * img/ecryptfs_14.png, img/ecryptfs_192.png, img/e 1.4 KB Diff Download File
ecryptfs_192.png 609 13 years ago Dustin Kirkland * img/ecryptfs_14.png, img/ecryptfs_192.png, img/e 9.9 KB Diff Download File
ecryptfs_64.png 609 13 years ago Dustin Kirkland * img/ecryptfs_14.png, img/ecryptfs_192.png, img/e 6.8 KB Diff Download File