Re: [libav-devel] [PATCH] idcin: check for integer overflow when calling av_get_packet()

2012-08-01 Thread Kostya Shishkov
On Wed, Aug 01, 2012 at 11:31:23AM -0400, Justin Ruggles wrote: > chunk_size is unsigned 32-bit, but av_get_packet() takes a signed int as the > packet size. > --- > libavformat/idcin.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/libavformat/idcin.c b/libavfo

[libav-devel] [PATCH] idcin: check for integer overflow when calling av_get_packet()

2012-08-01 Thread Justin Ruggles
chunk_size is unsigned 32-bit, but av_get_packet() takes a signed int as the packet size. --- libavformat/idcin.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/libavformat/idcin.c b/libavformat/idcin.c index 6a9b0ca..3acbc92 100644 --- a/libavformat/idcin.c +++ b/lib