antirez / antirez/sds

realloc without checking the return value

Open
#54 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
5.6k
Forks
510
PR merge metrics
No merged PRs in 30d

Description

By running a static analyzer, I got this information and I'd like to share.

[src/sds.c:159]: (error) Common realloc mistake: 'sh' nulled but not freed upon failure
[src/sds.c:717]: (error) Common realloc mistake: 'vector' nulled but not freed upon failure

Thanks
Carlos Tangerino

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.