outbin: check the status of lookup_label()
commit6feef84f25d4fa2a2ddd2b7307bd15b668ce6b20
authorH. Peter Anvin <hpa@zytor.com>
Thu, 22 Feb 2018 22:51:59 +0000 (22 14:51 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 22 Feb 2018 22:51:59 +0000 (22 14:51 -0800)
treeb5c09a2359c4be1154f92cf1bd9aee5b39d82ab4
parent7418883b62d88a833a9a41a3dd8c2cd8ca8b8a54
outbin: check the status of lookup_label()

Make sure we actually found the label we looked at, to avoid undefined
behavior.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
output/outbin.c