patch-2.1.122 linux/fs/isofs/inode.c

Next file: linux/fs/isofs/namei.c
Previous file: linux/fs/hfs/mdb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.121/linux/fs/isofs/inode.c linux/fs/isofs/inode.c
@@ -320,7 +320,7 @@
 			*value++ = 0;
 
 #ifdef CONFIG_JOLIET
-		if (!strcmp(this_char,"iocharset")) {
+		if (!strcmp(this_char,"iocharset") && value) {
 			popt->iocharset = value;
 			while (*value && *value != ',')
 				value++;

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