Mercurial > mplayer.hg
comparison stream/realrtsp/asmrp.c @ 21787:899739212237
Fix invalid memory access if identifier is unknown
author | rtogni |
---|---|
date | Mon, 01 Jan 2007 17:57:16 +0000 |
parents | 4511c04bc4a0 |
children | 80ff3962cef4 |
comparison
equal
deleted
inserted
replaced
21786:6632d0c08bb1 | 21787:899739212237 |
---|---|
424 } | 424 } |
425 | 425 |
426 i = asmrp_find_id (p, p->str); | 426 i = asmrp_find_id (p, p->str); |
427 if (i<0) { | 427 if (i<0) { |
428 mp_msg(MSGT_STREAM, MSGL_ERR, "error: unknown identifier %s\n", p->str); | 428 mp_msg(MSGT_STREAM, MSGL_ERR, "error: unknown identifier %s\n", p->str); |
429 } | 429 } else |
430 ret = p->sym_tab[i].v; | 430 ret = p->sym_tab[i].v; |
431 | 431 |
432 asmrp_get_sym (p); | 432 asmrp_get_sym (p); |
433 break; | 433 break; |
434 | 434 |