Siddhesh Poyarekar d084965adc 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>
(cherry picked from commit 84d2d0fe20bdf94feed82b21b4d7d136db471f03)
2022-01-24 21:44:54 +05:30
..
2021-07-09 20:09:14 +02:00
2016-10-25 17:05:47 -02:00
2016-10-25 17:05:47 -02:00