Fix one possible buffer overflow and one underflow. Also some minor
authormillert <millert@openbsd.org>
Sun, 24 Dec 2017 01:50:50 +0000 (01:50 +0000)
committermillert <millert@openbsd.org>
Sun, 24 Dec 2017 01:50:50 +0000 (01:50 +0000)
commitc2030654d887f756f0aa371e72e09c29aee91525
tree0b8fc321a1b9b94ec3495d9004c2a4e5c4f60e58
parent11e870de7c27ba263ba06551c5bb9e67b678ea60
Fix one possible buffer overflow and one underflow.  Also some minor
cleanups.  From Jan Kokemueller.  OK deraadt@
lib/libc/stdlib/realpath.c
libexec/ld.so/dl_realpath.c