On Thu, Feb 26, 2015 at 01:27:34AM +0100, Andreas Cadhalpun wrote:
> On 26.02.2015 00:24, Michael Niedermayer wrote:
> >On Wed, Feb 25, 2015 at 11:48:33PM +0100, Andreas Cadhalpun wrote:
> >>Hi,
> >>
> >>if avctx->channels is 0 in adx_read_packet, size gets set to 0,
> >>av_get_packet sets pkt->dat
On 26.02.2015 00:24, Michael Niedermayer wrote:
On Wed, Feb 25, 2015 at 11:48:33PM +0100, Andreas Cadhalpun wrote:
Hi,
if avctx->channels is 0 in adx_read_packet, size gets set to 0,
av_get_packet sets pkt->data to NULL and then AV_RB16(pkt->data)
results in a null pointer dereference.
Attache
On Wed, Feb 25, 2015 at 11:48:33PM +0100, Andreas Cadhalpun wrote:
> Hi,
>
> if avctx->channels is 0 in adx_read_packet, size gets set to 0,
> av_get_packet sets pkt->data to NULL and then AV_RB16(pkt->data)
> results in a null pointer dereference.
>
> Attached patch fixes this.
>
> Best regards
Hi,
if avctx->channels is 0 in adx_read_packet, size gets set to 0, av_get_packet
sets pkt->data to NULL and then AV_RB16(pkt->data) results in a null pointer
dereference.
Attached patch fixes this.
Best regards,
Andreas
>From 2578976a0a9eec03d168f393795119fd274ee81f Mon Sep 17 00:00:00 2001