Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
php5.3357
php-libmagic-boverflow-malformed-magic-file.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php-libmagic-boverflow-malformed-magic-file.patch of Package php5.3357
Index: ext/fileinfo/libmagic/funcs.c =================================================================== --- ext/fileinfo/libmagic/funcs.c.orig 2014-10-01 11:17:38.000000000 +0200 +++ ext/fileinfo/libmagic/funcs.c 2016-04-07 12:57:58.891881059 +0200 @@ -414,7 +414,7 @@ size_t len; if (level >= ms->c.len) { - len = (ms->c.len += 20) * sizeof(*ms->c.li); + len = (ms->c.len = 20 + level) * sizeof(*ms->c.li); ms->c.li = CAST(struct level_info *, (ms->c.li == NULL) ? emalloc(len) : erealloc(ms->c.li, len));
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