diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2022-01-24 21:36:41 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2022-01-24 21:40:00 +0530 |
commit | 84d2d0fe20bdf94feed82b21b4d7d136db471f03 (patch) | |
tree | ad576db6ecba25b33e7ed4a103eef90ef94d448a /iconv/gconv_cache.c | |
parent | d8d94863ef125a392b929732b37e07dc927fbcd1 (diff) | |
download | glibc-84d2d0fe20bdf94feed82b21b4d7d136db471f03.zip glibc-84d2d0fe20bdf94feed82b21b4d7d136db471f03.tar.gz glibc-84d2d0fe20bdf94feed82b21b4d7d136db471f03.tar.bz2 |
realpath: Avoid overwriting preexisting error (CVE-2021-3998)
Set errno and failure for paths that are too long only if no other error
occurred earlier.
Related: BZ #28770
Reviewed-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'iconv/gconv_cache.c')
0 files changed, 0 insertions, 0 deletions