heap-buffer-overflow in finfo.c

2023-08-24 Thread Grisha Levit
$ enable finfo $ finfo -P '' . ERROR: AddressSanitizer: heap-buffer-overflow ... READ of size 1 at 0x003b09b8d4d1 thread T0 #0 0x6e45535088 in octal examples/loadables/finfo.c:104:9 Could either fix up the octal function: diff --git a/examples/loadables/finfo.c b/examples/loadables/finfo.c in

[PATCH] leak in cut example loadable builtin

2023-08-24 Thread Grisha Levit
* examples/loadables/cut.c cut_internal: fix leak of poslist, simplify by using builtin_find_indexed_array --- diff --git a/examples/loadables/cut.c b/examples/loadables/cut.c index ee51d9b9..e623c656 100644 --- a/examples/loadables/cut.c +++ b/examples/loadables/cut.c @@ -504,21 +504,12 @@ cut_int