[Pkg-shadow-devel] fix in find_new_uid/gid()
Peter Vrabec
pvrabec at redhat.com
Tue May 17 09:37:27 UTC 2011
Hi all,
this is copy&paste from http://bugzilla.redhat.com/show_bug.cgi?id=693377
-------
Steps to Reproduce:
1. Edit login.defs to have UID_MAX >= 2147483647
# sed -i 's/^UID_MAX.*$/UID_MAX 2147483647/' login.defs
2. Add user
# useradd test
segfault
Actual results:
segfault
Expected results:
Error message or accept values of UID_MAX >= int
-------
I have changed alloca() to malloc() + return value check.
Regards,
Peter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shadow-4.1.4.2-IDs.patch
Type: text/x-patch
Size: 2002 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20110517/9a67b1e4/attachment.bin>
More information about the Pkg-shadow-devel
mailing list