glibc/pwd
Florian Weimer 676599b36a Harden putpwent, putgrent, putspent, putspent against injection [BZ #18724]
This prevents injection of ':' and '\n' into output functions which
use the NSS files database syntax.  Critical fields (user/group names
and file system paths) are checked strictly.  For backwards
compatibility, the GECOS field is rewritten instead.

The getent program is adjusted to use the put*ent functions in libc,
instead of local copies.  This changes the behavior of getent if user
names start with '-' or '+'.
2015-10-02 11:34:13 +02:00
..
fgetpwent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fgetpwent.c Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
getpw.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getpwent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getpwent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getpwnam_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getpwnam.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getpwuid_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getpwuid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Makefile Harden putpwent, putgrent, putspent, putspent against injection [BZ #18724] 2015-10-02 11:34:13 +02:00
putpwent.c Harden putpwent, putgrent, putspent, putspent against injection [BZ #18724] 2015-10-02 11:34:13 +02:00
pwd.h pwd.h: revert __nonnull markings on putpwent [BZ #18641] 2015-07-27 23:45:49 -04:00
tst-getpw.c tst-getpw: Rewrite. 2015-01-21 10:08:18 -05:00
tst-putpwent.c Harden putpwent, putgrent, putspent, putspent against injection [BZ #18724] 2015-10-02 11:34:13 +02:00
Versions Update. 2000-11-08 21:20:06 +00:00