-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid read in sdb_set_internal() #8813
Labels
Comments
looks like a problem in dwarf, not in sdb, can you show the output of valgrind?
… On 8 Nov 2017, at 21:34, Kamil Frankowicz ***@***.***> wrote:
Invalid read in sdb_set_internal()
Git HEAD: 2a82e2c <2a82e2c>
Crashing testcase in radare/radare2-regressions#1069 <https://github.com/radare/radare2-regressions/pull/1069>
Command: r2 -A r2_ir_sdb_set_internal
ASAN:
==15422==ERROR: AddressSanitizer: SEGV on unknown address 0x000030303030 (pc 0x7f3fea0c1746 bp 0x7fff0ccf7db0 sp 0x7fff0ccf7538 T0)
==15422==The signal is caused by a READ memory access.
#0 0x7f3fea0c1745 in strlen (/lib/x86_64-linux-gnu/libc.so.6+0x8b745)
#1 0x55f490967d8c in __interceptor_strlen.part.31 XYZ/llvm/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:300
#2 0x7f3feb1a1d7c in sdb_set_internal XYZ/radare2/shlr/sdb/src/sdb.c:562:9
#3 0x7f3ff06d8e98 in r_bin_dwarf_parse_comp_unit XYZ/radare2/libr/bin/dwarf.c:1355:5
#4 0x7f3ff06d8e98 in r_bin_dwarf_parse_info_raw XYZ/radare2/libr/bin/dwarf.c:1426
#5 0x7f3ff06db298 in r_bin_dwarf_parse_info XYZ/radare2/libr/bin/dwarf.c:1557:9
#6 0x7f3ff1b697ab in bin_dwarf XYZ/radare2/libr/core/cbin.c:894:3
#7 0x7f3ff1b697ab in r_core_bin_info XYZ/radare2/libr/core/cbin.c:3133
#8 0x7f3ff1b670a6 in r_core_bin_set_env XYZ/radare2/libr/core/cbin.c:116:3
#9 0x7f3ff1ae7471 in r_core_file_do_load_for_io_plugin XYZ/radare2/libr/core/file.c:411:2
#10 0x7f3ff1ae7471 in r_core_bin_load XYZ/radare2/libr/core/file.c:563
#11 0x55f490a05c23 in main XYZ/radare2/binr/radare2/radare2.c:1009:15
#12 0x7f3fea05682f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#13 0x55f4909072a8 in _start (/usr/local/bin/radare2+0x222a8)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x8b745) in strlen
==15422==ABORTING
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#8813>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA3-lij5W7cH6soFY29ANO28zOT-Ezojks5s0hBSgaJpZM4QW_6k>.
|
|
kriw
pushed a commit
to kriw/radare2
that referenced
this issue
Dec 3, 2017
SakiiR
pushed a commit
to SakiiR/radare2
that referenced
this issue
Jul 1, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Invalid read in sdb_set_internal()
Git HEAD: 2a82e2c
Crashing testcase in https://github.com/radare/radare2-regressions/pull/1069
Command:
r2 -A r2_ir_sdb_set_internal
ASAN:
The text was updated successfully, but these errors were encountered: