Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
php5.831
php-5.3.5-memory-corruption-parse_ini_string.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php-5.3.5-memory-corruption-parse_ini_string.patch of Package php5.831
http://svn.php.net/viewvc?view=revision&revision=316285 http://svn.php.net/viewvc?view=revision&revision=317304 Index: ext/standard/basic_functions.c =================================================================== --- ext/standard/basic_functions.c.orig +++ ext/standard/basic_functions.c @@ -6032,6 +6032,10 @@ PHP_FUNCTION(parse_ini_string) RETURN_FALSE; } + if (INT_MAX - str_len < ZEND_MMAP_AHEAD) { + RETVAL_FALSE; + } + /* Set callback function */ if (process_sections) { BG(active_ini_file_section) = NULL;
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