]> granicus.if.org Git - yasm/commit
* elf-x86-amd64.c (elf_x86_amd64_write_reloc): Fix a crash with ELF: when an
authorPeter Johnson <peter@tortall.net>
Wed, 19 Oct 2005 07:18:20 +0000 (07:18 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 19 Oct 2005 07:18:20 +0000 (07:18 -0000)
commit97ea77334836d11778333b9835a8604b9bd1beae
tree785e4487cce35b1ec456e511d1cc0d294736027c
parent1ddc1272d21a9f6758e7399c85a4814944772436
* elf-x86-amd64.c (elf_x86_amd64_write_reloc): Fix a crash with ELF: when an
invalid relocation is generated, this still gets called but with a NULL
addend.

* expr.c (expr_xform_bc_dist): Check return value of yasm_symrec_get_label()
to avoid crash.

svn path=/trunk/yasm/; revision=1288
libyasm/expr.c
modules/objfmts/elf/elf-x86-amd64.c