1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-11 02:22:26 +03:00
Files
glibc/stdlib/canonicalize.c
Siddhesh Poyarekar 84d2d0fe20 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>
2022-01-24 21:40:00 +05:30

15 KiB