Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
rebuilds
>
php4
> php-4.3.9-htmlunescape.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php-4.3.9-htmlunescape.patch of Package php4
Modified files: (Branch: PHP_4_4) /php-src/ext/standard html.c Log: MFH - binary safety patch from Moriyoshi http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/html.c?r1=1.63.2.23.2.1&r2=1.63.2.23.2.2&diff_format=u --- php-4.3.9/ext/standard/html.c.htmlunescape +++ php-4.3.9/ext/standard/html.c @@ -791,7 +791,7 @@ enum entity_charset charset = determine_charset(hint_charset TSRMLS_CC); unsigned char replacement[15]; - ret = estrdup(old); + ret = estrndup(old, oldlen); retlen = oldlen; if (!retlen) { goto empty_source;