diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2022-02-21 08:26:06 +0530 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2025-01-20 15:18:06 +0100 |
commit | 8a82a76a428dd9cba592103fbe0bc0dc556ad68b (patch) | |
tree | 085ad754ac0bca32235832b4a58134b1c4cc18b4 /stdlib/groupingwc.c | |
parent | e369114462d4340d1b90e25a2475ed5d7b45d373 (diff) | |
download | glibc-8a82a76a428dd9cba592103fbe0bc0dc556ad68b.zip glibc-8a82a76a428dd9cba592103fbe0bc0dc556ad68b.tar.gz glibc-8a82a76a428dd9cba592103fbe0bc0dc556ad68b.tar.bz2 |
realpath: Do not copy result on failure (BZ #28815)
On failure, the contents of the resolved buffer passed in by the caller
to realpath are undefined. Do not copy any partial resolution to the
buffer and also do not test resolved contents in test-canon.c.
Resolves: BZ #28815
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit 949ad78a189194048df8a253bb31d1d11d919044)
Diffstat (limited to 'stdlib/groupingwc.c')
0 files changed, 0 insertions, 0 deletions