diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-12-25 15:39:31 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-12-25 15:39:31 +0000 |
commit | 1b7896d7d05f339e7317b45c93dda651475c66ec (patch) | |
tree | a3652188026f2f2eff82aaf3e86f33c7342f0bab | |
parent | 0c85985f26591e391f62297fd943dd1f5645b18e (diff) | |
download | xine-lib-1b7896d7d05f339e7317b45c93dda651475c66ec.tar.gz xine-lib-1b7896d7d05f339e7317b45c93dda651475c66ec.tar.bz2 |
* 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
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/input/libreal/asmrp.c | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -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; |