[vlc-commits] au: fix integer overflow

Rémi Denis-Courmont git at videolan.org
Wed Oct 21 18:59:22 CEST 2015


vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 31 19:02:50 2015 +0300| [bc0e933289b8efd6ef435f034cea599cc835171e] | committer: Jean-Baptiste Kempf

au: fix integer overflow

Header size can reach UINT32_MAX.

(cherry picked from commit af8f9bb6f5ad117fe73c9e5e523944cc942528df)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=bc0e933289b8efd6ef435f034cea599cc835171e
---

 modules/demux/au.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/au.c b/modules/demux/au.c
index 19f8752..b9267ea 100644
--- a/modules/demux/au.c
+++ b/modules/demux/au.c
@@ -90,7 +90,7 @@ struct demux_sys_t
     int             i_frame_size;
     mtime_t         i_frame_length;
 
-    int             i_header_size;
+    uint32_t        i_header_size;
 };
 
 static int Demux( demux_t * );



More information about the vlc-commits mailing list