[FFmpeg-devel] [PATCH] msrledec: use signed pixel_ptr in msrle_decode_pal4

Michael Niedermayer michaelni at gmx.at
Thu Apr 16 16:01:31 CEST 2015

On Thu, Apr 16, 2015 at 02:49:08PM +0200, Andreas Cadhalpun wrote:
> This fixes segmentation faults, when pic->linesize[0] is negative.
> In that case 'line * pic->linesize[0] + pixel_ptr' is treated as
> unsigned and wraps around.
> This reverts commit 7d78a964.
> The problem was introduced in commit f7e1367f, which should obsolete
> that commit.
> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150416/ef832ca9/attachment.asc>

More information about the ffmpeg-devel mailing list