Re: [FFmpeg-devel] [PATCH 1/2] avformat/mpc8: fix broken pointer math

2015-02-04 Thread Michael Niedermayer
On Wed, Feb 04, 2015 at 01:18:54PM +0100, wm4 wrote: On Wed, 4 Feb 2015 01:00:06 +0100 Michael Niedermayer michae...@gmx.at wrote: On Tue, Feb 03, 2015 at 09:44:13PM +0100, Reimar Döffinger wrote: On Tue, Feb 03, 2015 at 07:04:11PM +0100, wm4 wrote: This could overflow and crash at

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mpc8: fix broken pointer math

2015-02-04 Thread wm4
On Wed, 4 Feb 2015 01:00:06 +0100 Michael Niedermayer michae...@gmx.at wrote: On Tue, Feb 03, 2015 at 09:44:13PM +0100, Reimar Döffinger wrote: On Tue, Feb 03, 2015 at 07:04:11PM +0100, wm4 wrote: This could overflow and crash at least on 32 bit systems. --- libavformat/mpc8.c | 2 +-

[FFmpeg-devel] [PATCH 1/2] avformat/mpc8: fix broken pointer math

2015-02-03 Thread wm4
This could overflow and crash at least on 32 bit systems. --- libavformat/mpc8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpc8.c b/libavformat/mpc8.c index a15dc25..d6ca338 100644 --- a/libavformat/mpc8.c +++ b/libavformat/mpc8.c @@ -91,7 +91,7 @@ static int

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mpc8: fix broken pointer math

2015-02-03 Thread Reimar Döffinger
On Tue, Feb 03, 2015 at 07:04:11PM +0100, wm4 wrote: This could overflow and crash at least on 32 bit systems. --- libavformat/mpc8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpc8.c b/libavformat/mpc8.c index a15dc25..d6ca338 100644 ---

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mpc8: fix broken pointer math

2015-02-03 Thread Michael Niedermayer
On Tue, Feb 03, 2015 at 09:44:13PM +0100, Reimar Döffinger wrote: On Tue, Feb 03, 2015 at 07:04:11PM +0100, wm4 wrote: This could overflow and crash at least on 32 bit systems. --- libavformat/mpc8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git