wrong strlcat limit value in realpath.c

William Ahern william at 25thandClement.com
Wed Oct 14 06:36:45 AEDT 2015

In realpath.c at line 182

	left_len = strlcat(symlink, left, sizeof(left));

should be

	left_len = strlcat(symlink, left, sizeof(symlink));

It's a benign issue because both arrays are the same size. And I can't
imagine that ever changing. But it's inconsistent, not to mention throwing
compiler warnings on OS X.

More information about the openssh-unix-dev mailing list