BR3079550: NASM crash on run-time for OMF output format
authorCyrill Gorcunov <gorcunov@gmail.com>
Fri, 1 Oct 2010 21:21:00 +0000 (01:21 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Wed, 27 Oct 2010 17:41:11 +0000 (21:41 +0400)
commit2c157002f2dd9bd4109fe23848ee12dc8182a12c
tree591a75354df54e0a2ce6e5670093c1728196b7d1
parent71787fda1b4c60201a9d83a14e325f30a99100a5
BR3079550: NASM crash on run-time for OMF output format

We could have accessed malloc'ed data on external symbols
in obj and ieee output formats. Fix it by using nasm_zalloc.

Reported-by: Jiri Malak
Patch-by: Jiri Malak
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
output/outieee.c
output/outobj.c