-
Notifications
You must be signed in to change notification settings - Fork 125
Closed
Description
The OpenMP4Source() function does not free the malloc()'ed memory for
gpmf-parser/demo/GPMF_mp4reader.c
Line 155 in 98aff12
| mp4object *mp4 = (mp4object *)malloc(sizeof(mp4object)); |
when it is called with a MP4 input file that is smaller than 64 byte. This is due to the abort condition that misses a free(mp4):
gpmf-parser/demo/GPMF_mp4reader.c
Line 169 in 98aff12
| if (mp4->filesize < 64) return 0; |
This problem should not have any impact in practice since the caller will likely abort early and the memory will be reclaimed on program exit.
Metadata
Metadata
Assignees
Labels
No labels