~tyhicks/ecryptfs/cid1375979

  • Committer: Tyler Hicks
  • Date: 2017-06-09 15:21:43 UTC
  • Revision ID: tyhicks@canonical.com-20170609152143-5z8nqo4lbn691syl
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 needed to reallocate the name string so the
free() is not needed.

Discovered by Coverity (CID 1375979)
Filename Latest Rev Last Changed Committer Comment Size
..
debian 309 15 years ago Dustin Kirkland debian/ubuntu packaging Initial checkin of the De Diff
doc 303 15 years ago Dustin Kirkland move the modprobe to a better place Move the modp Diff
img 606 12 years ago Dustin Kirkland renamed images directory Diff
lintian 448 14 years ago Dustin Kirkland * debian/lintian/ecryptfs-utils: added a lintian Diff
m4 303 15 years ago Dustin Kirkland move the modprobe to a better place Move the modp Diff
po 497 14 years ago Dustin Kirkland * Makefile.am, configure.ac, debian/control, debia Diff
rpm 303 15 years ago Dustin Kirkland move the modprobe to a better place Move the modp Diff
scripts 303 15 years ago Dustin Kirkland move the modprobe to a better place Move the modp Diff
src 303 15 years ago Dustin Kirkland move the modprobe to a better place Move the modp Diff
tests 625 12 years ago Tyler Hicks * tests/lib/etl_funcs.sh: - created eCryptfs tes Diff
AUTHORS 303 15 years ago Dustin Kirkland move the modprobe to a better place Move the modp 535 bytes Diff Download File
File autogen.sh 749 11 years ago Tyler Hicks * autogen.sh: - Use the --copy option when invok 61 bytes Diff Download File
ChangeLog 378 15 years ago Dustin Kirkland Changelogs updated. Signed-off-by: Dustin Kirklan 4 KB Diff Download File
configure.ac 880 8 years ago Dustin Kirkland opening 112 11.2 KB Diff Download File
CONTRIBUTING 604 12 years ago Tyler Hicks * CONTRIBUTING: - clarified how to contribute to 2.1 KB Diff Download File
COPYING 303 15 years ago Dustin Kirkland move the modprobe to a better place Move the modp 17.5 KB Diff Download File
INSTALL 303 15 years ago Dustin Kirkland move the modprobe to a better place Move the modp 7.8 KB Diff Download File
Makefile.am 748 11 years ago Tyler Hicks * autogen.sh, scripts/release.sh, Makefile.am: - 1.1 KB Diff Download File
NEWS 303 15 years ago Dustin Kirkland move the modprobe to a better place Move the modp 1.1 KB Diff Download File
README 816 10 years ago Tyler Hicks Update the README with a pointer to the ecryptfs.o 12.2 KB Diff Download File
THANKS 614 12 years ago Dustin Kirkland added my name to list of contributors 617 bytes Diff Download File