glibc/grp
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
..
compat-initgroups.c grp: Rewrite to use struct scratch_buffer instead of extend_alloca 2015-04-08 21:07:03 +02:00
fgetgrent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fgetgrent.c Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
getgrent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getgrent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getgrgid_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getgrgid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getgrnam_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getgrnam.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
grp.h Fix grp.h endgrent, getgrent namespace (bug 18528). 2015-06-12 22:29:19 +00:00
initgroups.c grp: Rewrite to use struct scratch_buffer instead of extend_alloca 2015-04-08 21:07:03 +02:00
Makefile Harden putpwent, putgrent, putspent, putspent against injection [BZ #18724] 2015-10-02 11:34:13 +02:00
putgrent.c Harden putpwent, putgrent, putspent, putspent against injection [BZ #18724] 2015-10-02 11:34:13 +02:00
setgroups.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
testgrp.c * malloc/memusagestat.c (main): Use return instead of exit to 2000-12-31 10:52:32 +00:00
tst_fgetgrent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst_fgetgrent.sh Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-putgrent.c Harden putpwent, putgrent, putspent, putspent against injection [BZ #18724] 2015-10-02 11:34:13 +02:00
Versions Update. 2001-06-16 19:50:36 +00:00