diff options
author | karroffel <therzog@mail.de> | 2018-01-20 15:23:03 +0100 |
---|---|---|
committer | karroffel <therzog@mail.de> | 2018-01-20 15:26:58 +0100 |
commit | 30822e8ab7735f3a715d4375292df5f0989ab788 (patch) | |
tree | 609eb415aa1837e46d5af05325807ec80fff96b4 /thirdparty/libpng/pngrtran.c | |
parent | 09732a15a50cedc4d495588f77784c26d3b3c7a7 (diff) |
fixed crash with StringBuilder
When using a newly created StringBuilder then the as_string() method
will crash when trying to free an allocated 0-sized chunk of memory.
When 0 bytes get allocated with memnew_arr then a NULL pointer gets
returned. When trying to free that pointer the programm will crash.
Diffstat (limited to 'thirdparty/libpng/pngrtran.c')
0 files changed, 0 insertions, 0 deletions