mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
qtdemux: prevent reading past avc1 atom when parsing
... when one of the subatoms has a large/invalid size. Fixes #626609.
This commit is contained in:
parent
7e032540c0
commit
8ea04c66b8
1 changed files with 2 additions and 2 deletions
|
@ -5435,8 +5435,8 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
len -= QT_UINT32 (avc_data);
|
len -= size + 8;
|
||||||
avc_data += QT_UINT32 (avc_data);
|
avc_data += size + 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue