]> git.pld-linux.org Git - packages/php.git/blob - php-5.1.6-CVE-2007-1718.patch
- ac-branch merge
[packages/php.git] / php-5.1.6-CVE-2007-1718.patch
1 --- php-5.1.6/ext/standard/mail.c.cve1718
2 +++ php-5.1.6/ext/standard/mail.c
3 @@ -48,8 +48,8 @@
4  
5  #define SKIP_LONG_HEADER_SEP(str, pos)                                                                         \
6         if (str[pos] == '\r' && str[pos + 1] == '\n' && (str[pos + 2] == ' ' || str[pos + 2] == '\t')) {        \
7 -               pos += 3;                                                                                       \
8 -               while (str[pos] == ' ' || str[pos] == '\t') {                                                   \
9 +               pos += 2;                                                                                       \
10 +               while (str[pos + 1] == ' ' || str[pos + 1] == '\t') {                                                   \
11                         pos++;                                                                                  \
12                 }                                                                                               \
13                 continue;                                                                                       \
This page took 0.027023 seconds and 3 git commands to generate.