aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2018-04-10 23:20:38 +0200
committerMarc André Tanner <mat@brain-dump.org>2018-04-10 23:20:38 +0200
commit7d1f70e18cce00ca3fea43f392a3ea3a367f18b9 (patch)
tree45cf3cc1664ecd958b14502bcf0921680f9efc00 /sam.c
parentbac1186a4497b011ac262e0bc9f602ee3872fec4 (diff)
downloadvis-7d1f70e18cce00ca3fea43f392a3ea3a367f18b9.tar.gz
vis-7d1f70e18cce00ca3fea43f392a3ea3a367f18b9.tar.xz
array: fix off by one error in array_remove
If the array was full, attempting to remove an element caused an out of bounds memory access. As an example this was triggered when reaching the capacity limit of the jumplist. It can be forced by repeatedly searching for something (i.e. `/.` and then holding down `n`).
Diffstat (limited to 'sam.c')
0 files changed, 0 insertions, 0 deletions