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

Annotation 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.2 - (hide annotations) (download)
Thu Nov 3 22:54:19 2011 UTC (13 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: php-5_3_3-15_el5_sme, php-5_3_3-16_el5_sme, php-5_3_3-14_el5_sme, php-5_3_3-1_el5_sme_6, php-5_3_3-13_el5_sme_1, php-5_3_3-1_el5_sme_3, php-5_3_3-13_el5_sme_2, php-5_3_3-17_el5_sme, php-5_3_3-13_el5_sme, HEAD
Changes since 1.1: +25 -0 lines
* Thu Nov 2 2011 Shad L. Lords <slords@mail.com> - 5.3.3-1.3.sme
- Obsolete php-domxml and php-dom [SME: 6733]
- Update Obsoletes and Conflicts [SME: 6436]

1 slords 1.2
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