[PATCH v3] debug: Fix read error handling in pcprofiledump
Florian Weimer
fweimer@redhat.com
Mon Sep 9 12:58:25 GMT 2024
* Andreas Schwab:
> On Sep 09 2024, Florian Weimer wrote:
>
>> The reading loops did not check for read failures. Addresses
>> a static analysis report.
>>
>> Manually tested by compiling a program with the GCC's
>> -finstrument-functions option, running it with
>> “LD_PRELOAD=debug/libpcprofile.so PCPROFILE_OUTPUT=output-file”,
>> and reviewing the output of “debug/pcprofiledump output-file”.
>
> Ok.
Thanks, but CI found a bogus format string issue. I'll post another
version with a workaround.
Florian
More information about the Libc-alpha
mailing list