File ghostscript-8.62-ijs.dif of Package ghostscript-library

--- src/gdevijs.c
+++ src/gdevijs.c	2008-04-01 12:31:39.370653605 +0200
@@ -1277,7 +1277,7 @@ gsijs_read_string_malloc(gs_param_list *
 		code = gs_error_rangecheck;
 		goto e;
 	    }
-	    if (new_value.size + 1 != *size) {
+	    if (new_value.size >= *size) {
 	        if (*str)
 		    gs_free(plist->memory, *str, *size, 1,
 					"gsijs_read_string_malloc");
openSUSE Build Service is sponsored by