[FFmpeg-devel] [PATCH] aaccoder: prevent crash of anmr coder

Claudio Freire klaussfreire at gmail.com
Wed Dec 9 21:38:51 CET 2015


On Wed, Dec 9, 2015 at 5:29 PM, Claudio Freire <klaussfreire at gmail.com> wrote:
> On Wed, Dec 9, 2015 at 4:42 PM, Andreas Cadhalpun
> <andreas.cadhalpun at googlemail.com> wrote:
>>>> [...]
>>>>             for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) {
>>>> [...]
>>>>             }
>>
>> Now we are after the w2-loop and thus:
>> w2 = sce->ics.group_len[w] = 2
>>
>
>
> Ah, I see, it's outside the loop!
>
> Pushing a fix.


Seems I cannot push from this computer (I don't have the key at hand).

So, attached a patch that ought to fix this crash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-AAC-encoder-fix-OOB-access-in-search_for_pns.patch
Type: text/x-patch
Size: 1144 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151209/30990ca5/attachment.bin>


More information about the ffmpeg-devel mailing list