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:41:28 +0200 |
commit | 4e382ce01cce1ef2ab8548dc1dda2ad3046662d8 (patch) | |
tree | 6f4ae53f34ea0727429d64429fc33d444a17e798 /sysdeps/sh/bits/fenv.h | |
parent | 7f5027995f45337a3fc4bb6d0b2039ee1e685f2e (diff) | |
download | glibc-4e382ce01cce1ef2ab8548dc1dda2ad3046662d8.tar.gz glibc-4e382ce01cce1ef2ab8548dc1dda2ad3046662d8.tar.xz glibc-4e382ce01cce1ef2ab8548dc1dda2ad3046662d8.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 'sysdeps/sh/bits/fenv.h')
0 files changed, 0 insertions, 0 deletions