/[smeserver]/rpms/php/sme8/php-5.3.3-CVE-2010-4156.patch
ViewVC logotype

Annotation of /rpms/php/sme8/php-5.3.3-CVE-2010-4156.patch

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


Revision 1.1 - (hide annotations) (download)
Mon Jun 20 19:27:01 2011 UTC (13 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: php-5_3_3-15_el5_sme, php-5_3_3-1_el5_7_3, php-5_3_3-13_el5_9_1, 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-1_el5_sme_1_0, php-5_3_3-13_el5_sme_2, php-5_3_3-1_el5_sme_1_1, php-5_3_3-17_el5_sme, php-5_3_3-1_el5_7_6, php-5_3_3-13_el5_sme, php-5_3_3-13_el6, php-5_3_3-1_el5_sme_1, HEAD
Branch point for: redhat-upstream
Import upstream sources

1 slords 1.1 --- php-5.3.3/ext/mbstring/libmbfl/mbfl/mbfilter.c.cve4156
2     +++ php-5.3.3/ext/mbstring/libmbfl/mbfl/mbfilter.c
3     @@ -1397,6 +1397,10 @@ mbfl_strcut(
4     start = string->val + from;
5     end = start + (length & -4);
6     } else if ((encoding->flag & MBFL_ENCTYPE_SBCS)) {
7     + if (from + length >= string->len) {
8     + length = string->len - from;
9     + }
10     +
11     start = string->val + from;
12     end = start + length;
13     } else if (encoding->mblen_table != NULL) {

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