[MPlayer-dev-eng] Patch: off-by-one errors in demuxer.c

Arpi arpi at thot.banki.hu
Tue Nov 27 01:34:17 CET 2001


Hi,

> Hi
> 
> There are a few places in demuxer.c where strcpy will write one byte past the 
> end of the allocated memory region. Attached is a patch to fix the problems.
> 
> / Fredrik Kuivinen
> 

thanks. i've rather changed them to strdup(). cleaner, simpelr, shorter.

al3x: 10l!!


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-dev-eng mailing list