mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-10-22 07:21:21 +00:00
avilib: prevent format buffer overflow
This commit is contained in:
parent
0cd6f01878
commit
9e065de814
@ -486,7 +486,7 @@ static int avi_add_odml_index_entry(avi_t *AVI, unsigned char *tag, long flags,
|
||||
return -1;
|
||||
|
||||
for (audtr = 0; audtr < AVI->anum; audtr++) {
|
||||
char aud[5];
|
||||
char aud[14];
|
||||
if (!AVI->track[audtr].audio_superindex) {
|
||||
// not initialized -> no index
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user