[vlc-devel] [PATCH 2/2] demux/mp4: MP4_TrackGetDTS: prevent usage of uninitialized data

Filip Roséen filip at atch.se
Sun Nov 6 03:22:00 CET 2016


Damn it, I just noticed that the commit message for the patch in which
this email is a reply to inaccurately states that it affects
MP4_TrackGetDTS (when it really adds protection to
MP¤_TrackGetPTSDelta).

Attached to this email is a patch where the commit message has been
updated to properly reflect the changes introduced.

On 2016-11-06 03:19, Filip Roséen wrote:

> The previous implementation would suffer from undefined-behavior if
> there is no chunk to use, as such it is better to simply abort (and
> signal an error) if this is the case.
> 
> ---
>  modules/demux/mp4/mp4.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20161106/d0930b2c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-demux-mp4-MP4_TrackGetPTSDelta-prevent-usage-of-uninitial.patch
Type: text/x-diff
Size: 1117 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20161106/d0930b2c/attachment.patch>


More information about the vlc-devel mailing list