1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 23:00:41 +00:00

Fix invalid memory access if identifier is unknown

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21805 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rtogni 2007-01-01 17:57:16 +00:00
parent 128f311d86
commit 959bb649e9

View File

@ -426,7 +426,7 @@ static int asmrp_operand (asmrp_t *p) {
i = asmrp_find_id (p, p->str);
if (i<0) {
mp_msg(MSGT_STREAM, MSGL_ERR, "error: unknown identifier %s\n", p->str);
}
} else
ret = p->sym_tab[i].v;
asmrp_get_sym (p);