[Pkg-shadow-devel] Bug in shadow suite

Nicolas François nicolas.francois at centraliens.net
Sun Nov 6 18:38:03 UTC 2011


On Sun, Oct 30, 2011 at 11:03:59PM +0200, pyllyukko at maimed.org wrote:
> I think I found a bug in shadow suite. The file is libmisc/limits.c and
> it is the scanf() that has the problem.
> So if I define for instance "* K077 L0" in /etc/limits, the scanf
> doesn't search for the K and it doesn't process the other parameters.
> As you can see, there's no K in the line:
> if (sscanf (buf, "%s%[ACDFMNRSTULPIOacdfmnrstulpio0-9 \t-]",
> I didn't check if there's some other characters/parameters missing.

Thank for the report. This should be fixed now in SVN.

Best Regards,

More information about the Pkg-shadow-devel mailing list