summaryrefslogtreecommitdiff
path: root/THANKS.in
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2014-03-13 17:05:04 -0700
committerJim Meyering <meyering@fb.com>2014-03-13 20:05:10 -0700
commit0093ac8d57a0f1a16fd09d98f6a524dddb6053e7 (patch)
treebe5995a36e912c3881b1651c1e1a420142129560 /THANKS.in
parent4f211822dddd1777dc915f2df4e2ed3b65c68301 (diff)
downloadcoreutils-0093ac8d57a0f1a16fd09d98f6a524dddb6053e7.tar.xz
ln: with -sr, don't segfault for a TARGET of ''
Prior to this change, "ln -sr '' F" would segfault, attempting to read path2[1] in relpath.c's path_common_prefix function. This problem arises whenever canonicalize_filename_mode returns NULL. * src/ln.c (convert_abs_rel): Call relpath only when both canonicalize_filename_mode calls return non-NULL. * tests/ln/relative.sh: Add a test to trigger this failure. * THANKS.in: List reporter's name/address. * NEWS (Bug fixes): Mention it. Reported by Erik Bernstein in 739752@bugs.debian.org. Fixes http://bugs.gnu.org/17010.
Diffstat (limited to 'THANKS.in')
-rw-r--r--THANKS.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/THANKS.in b/THANKS.in
index 561d18ce2..267026597 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -193,6 +193,7 @@ Eric G. Miller egm2@jps.net
Eric Pemente pemente@northpark.edu
Eric S. Raymond esr@snark.thyrsus.com
Erik Bennett bennett@cvo.oneworld.com
+Erik Bernstein erik@fscking.org
Erik Corry erik@kroete2.freinet.de
Felix Lee flee@teleport.com
Felix Rauch Valenti frauch@cse.unsw.edu.au