Prevent some buffer overwrite. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org --- libavcodec/wmaprodec.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c index 0712fb7..2867b87 100644 --- a/libavcodec/wmaprodec.c +++ b/libavcodec/wmaprodec.c @@ -716,6 +716,7 @@ static int decode_channel_transform(WMAProDecodeCtx* s) if (get_bits1(&s->gb)) { avpriv_request_sample(s->avctx, "Unknown channel transform type"); + return AVERROR_PATCHWELCOME; } } else { chgroup->transform = 1; -- 1.8.2.1 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel