Skip to content

Possible undefined behavior in sdsll2str() implementation in sds.c.  #4110

@eipi10ydz

Description

@eipi10ydz

It seems the problem is the same as #1940
if value(long long) is INT64_MIN then -value yields UB (signed overflow - even if it will probably be 0)

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