summaryrefslogtreecommitdiff
path: root/modules/gdnative
diff options
context:
space:
mode:
authorkarroffel <therzog@mail.de>2018-01-20 15:23:03 +0100
committerkarroffel <therzog@mail.de>2018-01-20 15:26:58 +0100
commit30822e8ab7735f3a715d4375292df5f0989ab788 (patch)
tree609eb415aa1837e46d5af05325807ec80fff96b4 /modules/gdnative
parent09732a15a50cedc4d495588f77784c26d3b3c7a7 (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 'modules/gdnative')
0 files changed, 0 insertions, 0 deletions