[PATCH, gas/ARM] Fix NULL dereference of march_ext_opt
Thomas Preudhomme
thomas.preudhomme@foss.arm.com
Fri Mar 2 10:47:00 GMT 2018
Hi,
Commit 4d354d8b8932d450c77fd52f3501662827523014 introduced a NULL
pointer dereference by replacing a pointer assignment by a pointer
dereference assignment without adding a NULL pointer check. This patch
fixes it.
ChangeLog entry is as follows:
*** gas/ChangeLog ***
2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
* config/tc-arm.c (md_begin): Add NULL pointer check before
dereferencing march_ext_opt.
Committed as obvious.
Best regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_march_ext_opt_NULL_dereference.patch
Type: text/x-patch
Size: 445 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180302/a07275ae/attachment.bin>
More information about the Binutils
mailing list