larsbs / id3v2lib

id3v2lib is a library written in C to read and edit id3 tags from mp3 files.
BSD 2-Clause "Simplified" License
128 stars 44 forks source link

itob memory leak #33

Closed nrathaus closed 1 year ago

nrathaus commented 5 years ago

The following code can be seen inside itob: char* result = (char*) malloc(sizeof(char) * size);

This result buffer is never freed in any subsequent calls and thus repeated calling of itob would cause a memory leak of 4 bytes