about summary refs log tree commit diff
path: root/sysdeps/generic/wcstoul_l.c
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:28 +0200
commit4e382ce01cce1ef2ab8548dc1dda2ad3046662d8 (patch)
tree6f4ae53f34ea0727429d64429fc33d444a17e798 /sysdeps/generic/wcstoul_l.c
parent7f5027995f45337a3fc4bb6d0b2039ee1e685f2e (diff)
downloadglibc-release/2.39/master.tar.gz
glibc-release/2.39/master.tar.xz
glibc-release/2.39/master.zip
debug: Fix read error handling in pcprofiledump release/2.39/master
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/generic/wcstoul_l.c')
0 files changed, 0 insertions, 0 deletions