-
由 Jim Meyering 提交于
Reading a symlink longer than the given buffer, a p9_debug use would try to print the link name (not NUL-terminated) using a %s format. Use %.*s instead, and replace the strncpy+strnlen with functionally equivalent strlen+memcpy. Signed-off-by: NJim Meyering <meyering@redhat.com> Signed-off-by: NEric Van Hensbergen <ericvh@gmail.com>
ba413ab2