[fedfs-utils] [PATCH 1/8] mount avoid one-byte overrun

Jim Meyering jim at meyering.net
Wed Nov 30 13:03:18 PST 2011


> * src/mount/main.c (try_mount): Correct off-by-two under-allocation.
> Rather than allocating space for strlen(S)+1, it allocates space
> for strlen(S+1), which is shorter by two.  Spotted by coverity.

The one-line summary (Subject:) is inaccurate, as you can see in
the log message.  Here's a better one:

    mount: avoid two-byte overrun



More information about the fedfs-utils-devel mailing list