You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiled fresh r2 especially for this issue, so it's up to date.
I attached GDB and reproduced the steps to cause the segfault and got this backtrace.
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7de61e5 in __strlen_avx2 () from /usr/lib/libc.so.6
(gdb) backtrace
#0 0x00007ffff7de61e5 in __strlen_avx2 () from /usr/lib/libc.so.6
#1 0x00007ffff71864c9 in r_meta_set_var_comment () from /usr/lib/libr_anal.so
#2 0x00007ffff74e5b19 in ?? () from /usr/lib/libr_core.so
#3 0x00007ffff74f4259 in ?? () from /usr/lib/libr_core.so
#4 0x00007ffff757d7ca in r_cmd_call () from /usr/lib/libr_core.so
#5 0x00007ffff74edbce in ?? () from /usr/lib/libr_core.so
#6 0x00007ffff74f03b0 in r_core_cmd () from /usr/lib/libr_core.so
#7 0x00007ffff74bdd8c in r_core_prompt_exec () from /usr/lib/libr_core.so
#8 0x00007ffff74be569 in r_core_prompt_loop () from /usr/lib/libr_core.so
#9 0x00007ffff7e60eef in r_main_radare2 () from /usr/lib/libr_main.so
#10 0x00007ffff7cac023 in __libc_start_main () from /usr/lib/libc.so.6
#11 0x000055555555527e in ?? ()
Work environment
Arch Linux archie 5.5.8-arch1-1 #1 SMP PREEMPT Fri, 06 Mar 2020 00:57:33 +0000 x86_64 GNU/Linux
Expected behavior
Running
Cvs var
should print "invalid command"Actual behavior
Seg faults
Steps to reproduce the behavior
https://asciinema.org/a/tyL03A7EakIlHBPw9kE15uydv
stack3.zip
containing the test case in the test/ folder. See for example test/new/db/cmd/cmd_search.
Additional Logs, screenshots, source-code, configuration dump, ...
Compiled fresh r2 especially for this issue, so it's up to date.
I attached GDB and reproduced the steps to cause the segfault and got this backtrace.
I don't know C very well but I think that
strlen
being called ons
results in a null pointer dereference inside of ther_meta_set_var_comment
functionDrag and drop zip archives containing the Additional info here, don't use external services or link.
The text was updated successfully, but these errors were encountered: