radareorg / sdb

Simple and fast string based key-value database with support for arrays and json
https://www.radare.org/
MIT License
217 stars 62 forks source link

"sdb - :" segfaults #51

Closed neuschaefer closed 10 years ago

neuschaefer commented 10 years ago
$ src/sdb - :
ASAN:SIGSEGV
=================================================================
==5202==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x7f0c208b2e1a sp 0x7fff74d46978 bp 0x7fff74d469b0 T0)
    #0 0x7f0c208b2e19 (/lib/x86_64-linux-gnu/libc.so.6+0x81e19)
    #1 0x45d5e6 in __interceptor_strlen (/home/jonathan/dev/debug/r2/sdb/src/sdb+0x45d5e6)
    #2 0x493bf2 in sdb_json_indent /home/jonathan/dev/debug/r2/sdb/src/json.c:202
    #3 0x499659 in sdb_querys /home/jonathan/dev/debug/r2/sdb/src/query.c:596
    #4 0x498764 in sdb_query /home/jonathan/dev/debug/r2/sdb/src/query.c:634
    #5 0x482c52 in main /home/jonathan/dev/debug/r2/sdb/src/main.c:195
    #6 0x7f0c20852b44 (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
    #7 0x4822fc in _start (/home/jonathan/dev/debug/r2/sdb/src/sdb+0x4822fc)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV ??:0 ??
==5202==ABORTING