Skip to content

Crash- Segmentation fault in sdscatlen-> sdsMakeRoomFor -> realloc #1287

@sg893052

Description

@sg893052

Application crashed due to a segmentation fault while processing Redis DB events.

libhiredis version: 0.14.1-1
Distribution: Bullseye

(gdb) bt
#0 0x00007f932b1139b0 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f932b116615 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007f932b1178d6 in realloc () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007f934938c2df in sdsMakeRoomFor ()
from /usr/lib/x86_64-linux-gnu/libhiredis.so.0.14
#4 0x00007f934938cbb4 in sdscatlen ()
from /usr/lib/x86_64-linux-gnu/libhiredis.so.0.14
#5 0x00007f9349389db0 in redisvFormatCommand ()
from /usr/lib/x86_64-linux-gnu/libhiredis.so.0.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions