glibc: security fix CVE-2014-8121, fixes #7207

This commit is contained in:
Vladimír Čunát 2015-04-09 20:41:58 +02:00
parent 91221f5941
commit 596bf235b6

View File

@ -77,6 +77,12 @@ stdenv.mkDerivation ({
+ ''
cat ${./glibc-remove-datetime-from-nscd.patch} \
| sed "s,@out@,$out," | patch -p1
''
# CVE-2014-8121, see https://bugzilla.redhat.com/show_bug.cgi?id=1165192
+ ''
substituteInPlace ./nss/nss_files/files-XXX.c \
--replace 'status = internal_setent (stayopen);' \
'status = internal_setent (1);'
'';
configureFlags =