Skip to content

Commit

Permalink
glibc: 2.26-115 -> 2.26-131 to fix CVE-2018-1000001
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Jan 14, 2018
1 parent 6ed0fe7 commit 990ff97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Binary file not shown.
7 changes: 5 additions & 2 deletions pkgs/development/libraries/glibc/common.nix
Expand Up @@ -20,7 +20,7 @@

let
version = "2.26";
patchSuffix = "-115";
patchSuffix = "-131";
sha256 = "1ggnj1hzjym7sn93rbwydcqd562q73lsb7g7kd199g6j9j9hlkp5";
cross = if buildPlatform != hostPlatform then hostPlatform else null;
in
Expand Down Expand Up @@ -48,6 +48,9 @@ stdenv.mkDerivation ({
*/
./2.26-75.patch.gz
./2.26-75to115.diff.gz
# contains fix for CVE-2018-1000001 as the last commit:
# https://sourceware.org/git/?p=glibc.git;a=commit;h=fabef2edbc
./2.26-115to131.diff.gz

/* Have rpcgen(1) look for cpp(1) in $PATH. */
./rpcgen-path.patch
Expand All @@ -73,7 +76,7 @@ stdenv.mkDerivation ({
and we lose early mismatch detection on 2.6.32.
On major glibc updates we should check that the patched kernel supports
all the required features. ATM it's verified up to glibc-2.26-115.
all the required features. ATM it's verified up to glibc-2.26-131.
# HOWTO: check glibc sources for changes in kernel requirements
git log -p glibc-2.25.. sysdeps/unix/sysv/linux/x86_64/kernel-features.h sysdeps/unix/sysv/linux/kernel-features.h
# get kernel sources (update the URL)
Expand Down

0 comments on commit 990ff97

Please sign in to comment.