aboutsummaryrefslogtreecommitdiff
path: root/data/plugins/language_python.lua
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2024-01-20 01:02:46 +0100
committerjgmdev <jgmdev@gmail.com>2024-01-22 16:55:00 -0400
commit119e41f2a8a56db1583629b305be821ff2cd6122 (patch)
treea8e8903cb4d909095e5d732267b0e07adbddd02b /data/plugins/language_python.lua
parent4418bb6cae81e30f53ed54e97138c48dd7ee81d5 (diff)
downloadpragtical-119e41f2a8a56db1583629b305be821ff2cd6122.tar.gz
pragtical-119e41f2a8a56db1583629b305be821ff2cd6122.zip
Memory fixes (#1705)
* fix: free-before-init in renwin_init_surface when using sdl renderer `ren->rensurface.surface` presupposes zero-initialized rensurface. Rensurface was not actually zero-initialized. It is now. * fix: heap buffer overflow in process_env_free `process_env_free` presupposed that it was null-terminated. Pass length to free instead. * use calloc instead of memset for zero-init Co-authored-by: Guldoman <giulio.lettieri@gmail.com> --------- Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
Diffstat (limited to 'data/plugins/language_python.lua')
0 files changed, 0 insertions, 0 deletions