patch-2.1.64 linux/fs/isofs/symlink.c

Next file: linux/fs/ncpfs/dir.c
Previous file: linux/fs/ext2/fsync.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.63/linux/fs/isofs/symlink.c linux/fs/isofs/symlink.c
@@ -56,7 +56,7 @@
 	if (!pnt)
 		return 0;
 
-	i = strlen(pnt)+1;
+	i = strlen(pnt);
 	if (i > buflen)
 		i = buflen; 
 	if (copy_to_user(buffer, pnt, i))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov