[fedfs-utils] fix a few coverity-spotted problems

Jim Meyering jim at meyering.net
Wed Nov 30 12:51:30 PST 2011


I noticed that Jeff Layton was preparing to bring 0.7.3 into Fedora
so took a look.  I ran coverity on the latest from git and it found
a few nontrivial problems.  Here are fixes for most of them.
Most arise only on error-paths.

[PATCH 1/8] mount avoid one-byte overrun
[PATCH 2/8] fedfsd: don't return freed memory through **pathname
[PATCH 3/8] build: avoid automake warnings about AM_PROG_AR
[PATCH 4/8] mount: don't make -s (sloppy) imply -v (verbose)
[PATCH 5/8] mount: don't leak upon LDAP parse failure
[PATCH 6/8] nsdb: don't leak a read buffer upon certfile open
[PATCH 7/8] libsi: don't leak a struct srvinfo upon failed strdup
[PATCH 8/8] fedfsd: don't double-free upon ENOMEM



More information about the fedfs-utils-devel mailing list