diff options
author | Florian Weimer <fweimer@redhat.com> | 2024-09-10 12:40:27 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2024-09-10 12:40:27 +0200 |
commit | 89b088bf70c651c231bf27e644270d093b8f144a (patch) | |
tree | 29ebb441116659b0609bb9c80666f3bcf737fa7c /posix/tst-fork.c | |
parent | e82a7cb1622bff08d8e3a144d7c5516a088f1cbc (diff) | |
download | glibc-89b088bf70c651c231bf27e644270d093b8f144a.zip glibc-89b088bf70c651c231bf27e644270d093b8f144a.tar.gz glibc-89b088bf70c651c231bf27e644270d093b8f144a.tar.bz2 |
debug: Fix read error handling in pcprofiledump
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”.
Diffstat (limited to 'posix/tst-fork.c')
0 files changed, 0 insertions, 0 deletions