diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-05-20 19:49:23 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-05-20 19:49:23 +0200 |
commit | 54ca3aa25f5dd551d974724524b5f0958da35b34 (patch) | |
tree | fc907240c0455f07fb6357f3aff1c9eca39cd13b /chunk.h | |
parent | cbc0d78816df398364c1aeec9c36f10bf6cf8e28 (diff) |
types: fix uninitialized memory on setting non-contiguous array indexes
When ucode sets array indexes far after the array end so that a realloc()
is triggered interally, the memory between the last existing array
element and the newly set one was left uninitialized, leading to
random segmentation faults, infinite loops or other invalid memory access
symptoms.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'chunk.h')
0 files changed, 0 insertions, 0 deletions