https://sourceware.org/bugzilla/show_bug.cgi?id=28720

--- Comment #15 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Evgeny Vereshchagin from comment #3)
> $ UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1
> LD_LIBRARY_PATH="./libdw;./libelf" ./src/stack --core
> SIGABRT.PC.7fffe4f4e84c.STACK.18f0f46b60.CODE.-6.ADDR.0.INSTR.mov____%eax,
> %ebp.fuzz
> link_map.c:1040:20: runtime error: variable length array bound evaluates to
> non-positive value 0
>     #0 0x7fbc58f053e9 in dwfl_link_map_report
> /home/vagrant/elfutils/libdwfl/link_map.c:1040
>     #1 0x7fbc59023fa7 in _new.dwfl_core_file_report
> /home/vagrant/elfutils/libdwfl/core-file.c:552
>     #2 0x4053f7 in parse_opt /home/vagrant/elfutils/src/stack.c:595
>     #3 0x7fbc581d9471 in argp_parse (/lib64/libc.so.6+0x11e471)
>     #4 0x404b39 in main /home/vagrant/elfutils/src/stack.c:695
>     #5 0x7fbc580e855f in __libc_start_call_main (/lib64/libc.so.6+0x2d55f)
>     #6 0x7fbc580e860b in __libc_start_main_impl (/lib64/libc.so.6+0x2d60b)
>     #7 0x404fa4 in _start (/home/vagrant/elfutils/src/stack+0x404fa4)
> 
> SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior link_map.c:1040:20 in

Proposed fix:
https://sourceware.org/pipermail/elfutils-devel/2022q1/004637.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to