From 1b7896d7d05f339e7317b45c93dda651475c66ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Mon, 25 Dec 2006 15:39:31 +0000 Subject: * Fix invalid memory access in Real Media ASM parser; reported by Roland Kay. [bug #1603503] CVS patchset: 8440 CVS date: 2006/12/25 15:39:31 --- ChangeLog | 2 ++ src/input/libreal/asmrp.c | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e2e3960ff..21192d723 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,8 @@ xine-lib (1.1.4) Taso N. Devetzis. [bug #1614406] * Fix disposing of image buffers in video_out_xv when SHM get disabled by exhaustion of memory; patch by Matthias Drochner. [bug #1620339] + * Fix invalid memory access in Real Media ASM parser; reported by Roland + Kay. [bug #1603503] xine-lib (1.1.3) * Security fixes: diff --git a/src/input/libreal/asmrp.c b/src/input/libreal/asmrp.c index 5fd5ae798..8afc19df6 100644 --- a/src/input/libreal/asmrp.c +++ b/src/input/libreal/asmrp.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: asmrp.c,v 1.9 2006/11/29 19:43:01 dgp85 Exp $ + * $Id: asmrp.c,v 1.10 2006/12/25 15:39:31 dgp85 Exp $ * * a parser for real's asm rules * @@ -417,7 +417,9 @@ static int asmrp_operand (asmrp_t *p) { i = asmrp_find_id (p, p->str); if (i<0) { - lprintf ("error: unknown identifier %s\n", p->str); + printf ("error: unknown identifier %s\n", p->str); + ret = 0; + break; } ret = p->sym_tab[i].v; -- cgit v1.2.3