diff options
author | Derick Rethans <derick@php.net> | 2006-03-15 12:20:49 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2006-03-15 12:20:49 +0000 |
commit | c76917a7737e5f13e87c79863449b8a22bcc17ed (patch) | |
tree | d03ed932c573299d15fec1457ad49f0d79623f39 /ext/soap/php_schema.c | |
parent | d3e5691b41013689618cdaca45fd4d44cffb767b (diff) | |
download | php-git-c76917a7737e5f13e87c79863449b8a22bcc17ed.tar.gz |
- Fixed two memory issues:
- In the first one we were calculating the tmp_len wrong which made the
u_strFromUTF32() function try to convert too many code points.
- The second issue was a bit more subtle as the "what" string wasn't
duplicated but still modified. This string is passed as data to the
function and this kind of data the engine tries to free when the function
ends. Because we were re-allocating the data the original memory location
was already freed resulting in a double free error when the engine tries to
free the argument as it was passed to the function.
Diffstat (limited to 'ext/soap/php_schema.c')
0 files changed, 0 insertions, 0 deletions