/[smeserver]/rpms/php/sme8/php-5.3.3-CVE-2011-2202.patch
ViewVC logotype

Contents of /rpms/php/sme8/php-5.3.3-CVE-2011-2202.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.2.1 - (show annotations) (download)
Thu Nov 3 22:49:53 2011 UTC (12 years, 7 months ago) by slords
Branch: redhat-upstream
CVS Tags: php-5_3_3-1_el5_7_3, php-5_3_3-13_el5_9_1, php-5_3_3-1_el5_7_6, php-5_3_3-13_el6
Changes since 1.1: +25 -0 lines
Upstream renamed

1
2 https://bugzilla.redhat.com/show_bug.cgi?id=713194
3
4 http://svn.php.net/viewvc?view=revision&revision=312103
5
6 --- php-5.3.3/main/rfc1867.c.cve2202
7 +++ php-5.3.3/main/rfc1867.c
8 @@ -1214,7 +1214,7 @@ filedone:
9 #endif
10
11 if (!is_anonymous) {
12 - if (s && s > filename) {
13 + if (s && s >= filename) {
14 safe_php_register_variable(lbuf, s+1, strlen(s+1), NULL, 0 TSRMLS_CC);
15 } else {
16 safe_php_register_variable(lbuf, filename, strlen(filename), NULL, 0 TSRMLS_CC);
17 @@ -1227,7 +1227,7 @@ filedone:
18 } else {
19 snprintf(lbuf, llen, "%s[name]", param);
20 }
21 - if (s && s > filename) {
22 + if (s && s >= filename) {
23 register_http_post_files_variable(lbuf, s+1, http_post_files, 0 TSRMLS_CC);
24 } else {
25 register_http_post_files_variable(lbuf, filename, http_post_files, 0 TSRMLS_CC);

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed