]> granicus.if.org Git - yasm/commit
Fix use-after-free in linemap_poke. The first yasm_linemap_set call can
authorPeter Johnson <peter@tortall.net>
Fri, 1 Jun 2007 19:39:29 +0000 (19:39 -0000)
committerPeter Johnson <peter@tortall.net>
Fri, 1 Jun 2007 19:39:29 +0000 (19:39 -0000)
commit951a6df0263aea89107a58fd697ec58aa01a1642
tree367bf48f7c44b74173f98bef684f88a0c8a0f1ea
parent67bc3c2010f06c6320864231f6c86ecbe43d735b
Fix use-after-free in linemap_poke.  The first yasm_linemap_set call can
realloc linemap->map->vector, invalidating the mapping pointer.

Found by: zzuf+valgrind

svn path=/trunk/yasm/; revision=1866
libyasm/linemap.c