aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-09-10 12:40:27 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-09-10 12:41:04 +0200
commitadfb14e71f240a6bc2a4cbd6e6c50cc3fa1bcc3b (patch)
tree03ceac110f99245e003f55dc7fef75cac3c85547 /scripts/cpp
parentf4a9b6e97bf05cf5a41907e55901f7e9afaafd4d (diff)
downloadglibc-adfb14e71f240a6bc2a4cbd6e6c50cc3fa1bcc3b.tar.xz
glibc-adfb14e71f240a6bc2a4cbd6e6c50cc3fa1bcc3b.zip
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”. (cherry picked from commit 89b088bf70c651c231bf27e644270d093b8f144a)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions