Re: heap-buffer-overflow in finfo.c

2023-08-25 Thread Chet Ramey
On 8/24/23 1:23 PM, Grisha Levit wrote: $ 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 Thanks for the reports. -- ``The lyf so short, the craft so long to

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