[MPlayer-dev-eng] [PATCH] fix segfault when mp3 seeking

Arpi arpi at thot.banki.hu
Fri Oct 25 16:34:45 CEST 2002


Hi,

> Please someone more aware of the mp3 code check and apply the attached
> patch that fixes some segfault when seeking.
> 
> len sometimes is 0 thus no buffer is allocated and the NULL pointer is
> written to.
> 
> Triggering it is somewhat difficult (seeking fwd/backwd etc... till it
> crashes ;) but those things happen.

ok i've fixed it at right place, in header parser
(it should return -1 for invalid header, like framesize=0)


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list