Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:eo4iwc:openSUSE11.2
php5
php-5.3.3-CVE-2010-4156.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php-5.3.3-CVE-2010-4156.patch of Package php5
Index: ext/mbstring/libmbfl/mbfl/mbfilter.c =================================================================== --- ext/mbstring/libmbfl/mbfl/mbfilter.c.orig +++ ext/mbstring/libmbfl/mbfl/mbfilter.c @@ -1398,6 +1398,11 @@ mbfl_strcut( end = start + (length & -4); } else if ((encoding->flag & MBFL_ENCTYPE_SBCS)) { start = string->val + from; + + if (from + length >= string->len) { + length = string->len - from; + } + end = start + length; } else if (encoding->mblen_table != NULL) { const unsigned char *mbtab = encoding->mblen_table;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor