xtensa: sprintf sanitizer null destination pointer
authorAlan Modra <amodra@gmail.com>
Wed, 2 Aug 2023 23:26:24 +0000 (08:56 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 3 Aug 2023 11:49:54 +0000 (21:19 +0930)
commitebfd369c3e9c18318c46d4ddc3ad016905d975ea
tree99d4d34be7fb4e5982a4ec4bb9dd94bdb1ac4ade
parenteaf1fa5ac5972efe5041c835c3ac9fec3c6aa06c
xtensa: sprintf sanitizer null destination pointer

* config/tc-xtensa.c (xtensa_add_config_info): Use auto buffer
rather than malloc.  Use sprintf return value.
gas/config/tc-xtensa.c