]> git.pld-linux.org Git - packages/lighttpd.git/blob - lighttpd-crypt.patch
66ad80ac4e2f8574f40617fd3867cd448d7a383c
[packages/lighttpd.git] / lighttpd-crypt.patch
1 diff -urN lighttpd-1.4.32.org/src/http_auth.c lighttpd-1.4.32/src/http_auth.c
2 --- lighttpd-1.4.32.org/src/http_auth.c 2012-05-17 11:29:24.000000000 +0200
3 +++ lighttpd-1.4.32/src/http_auth.c     2013-06-05 19:58:07.828450230 +0200
4 @@ -688,6 +688,8 @@
5                 salt[salt_len] = '\0';
6  
7                 crypted = crypt(pw, salt);
8 +               if (NULL == crypted)
9 +                       return -1;
10  
11                 if (0 == strcmp(password->ptr, crypted)) {
12                         return 0;
This page took 0.109066 seconds and 2 git commands to generate.