gprof: sprintf sanitizer null destination pointer
authorAlan Modra <amodra@gmail.com>
Wed, 2 Aug 2023 22:53:51 +0000 (08:23 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 3 Aug 2023 11:49:54 +0000 (21:19 +0930)
commit23f6f86ca03e87883150d21a6ac3c00590ea450a
tree43a8b4587ca4ce6ff3d0db179003dac90d509c20
parent137f6bc0dabe209c1617fb396eb590e7b7ee8faa
gprof: sprintf sanitizer null destination pointer

* basic_blocks.c (annotate_with_count): Use output of sprintf
rather than strlen.
gprof/basic_blocks.c