File ksh93-env.dif of Package ksh

--- src/cmd/ksh93/sh/name.c
+++ src/cmd/ksh93/sh/name.c	2012-10-16 12:12:43.000000000 +0000
@@ -2264,7 +2264,7 @@ static void attstore(register Namval_t *
 	if((flag&(NV_UTOL|NV_LTOU|NV_INTEGER)) == (NV_UTOL|NV_LTOU))
 	{
 		data = (void*)nv_mapchar(np,0);
-		if(strcmp(data,e_tolower) && strcmp(data,e_toupper))
+		if(data && strcmp(data,e_tolower) && strcmp(data,e_toupper))
 			return;
 	}
 	flag &= (NV_RDONLY|NV_UTOL|NV_LTOU|NV_RJUST|NV_LJUST|NV_ZFILL|NV_INTEGER);