]> git.pld-linux.org Git - packages/glibc.git/commitdiff
- fixes blowfish hole (https://lwn.net/Articles/448699/)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 22 Jun 2011 20:22:56 +0000 (20:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    glibc-crypt-blowfish.patch -> 1.6

glibc-crypt-blowfish.patch

index 872754695c1b727cf29b7bbdcf0dd1209a7e14c1..c2a2dc4eb506492e1400cb9167e79673e769e475 100644 (file)
@@ -559,7 +559,7 @@ Index: crypt/crypt_blowfish.c
 +              tmp = 0;
 +              for (j = 0; j < 4; j++) {
 +                      tmp <<= 8;
-+                      tmp |= *ptr;
++                      tmp |= (unsigned char)*ptr;
 +
 +                      if (!*ptr) ptr = key; else ptr++;
 +              }
This page took 0.031274 seconds and 4 git commands to generate.