~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
..
File build-full-tarball.sh 303 16 years ago Dustin Kirkland move the modprobe to a better place Move the modp 1.4 KB Diff Download File
File build-ubuntu.sh 750 12 years ago Tyler Hicks * scripts/build-ubuntu.sh: - Don't rely on the d 243 bytes Diff Download File
File current-version.sh 303 16 years ago Dustin Kirkland move the modprobe to a better place Move the modp 52 bytes Diff Download File
File delete-cruft.sh 745 12 years ago Tyler Hicks * src/testcases: - Delete old testcases that wer 1.2 KB Diff Download File
File make.sh 303 16 years ago Dustin Kirkland move the modprobe to a better place Move the modp 2.3 KB Diff Download File
README 303 16 years ago Dustin Kirkland move the modprobe to a better place Move the modp 1.5 KB Diff Download File
File rebuild-patches.sh 303 16 years ago Dustin Kirkland move the modprobe to a better place Move the modp 2.2 KB Diff Download File
File release.sh 850 10 years ago Dustin Kirkland * scripts/release.sh: - a few more release scrip 1.5 KB Diff Download File
File sync-kernel.sh 303 16 years ago Dustin Kirkland move the modprobe to a better place Move the modp 776 bytes Diff Download File
File test.sh 303 16 years ago Dustin Kirkland move the modprobe to a better place Move the modp 149 bytes Diff Download File
File validate-dir.sh 303 16 years ago Dustin Kirkland move the modprobe to a better place Move the modp 336 bytes Diff Download File