BytesClub / serverX

A HTTP/HTTPS Web Server Handler by (C) Bytes Club
Other
3 stars 3 forks source link

Errorprone: realloc called but not checked if null #3

Closed 0xTheProDev closed 7 years ago

0xTheProDev commented 7 years ago

ents = realloc(ents, sizeof(struct dirent *) * size);

Cause of Error: Common realloc mistake: 'varname' nulled but not freed upon failure