ossp-pkg/xds/regression-tests/xds-encode.c 1.4 -> 1.5
--- xds-encode.c 2001/07/16 17:50:08 1.4
+++ xds-encode.c 2001/07/18 17:37:49 1.5
@@ -51,6 +51,11 @@
printf("Buffer size passed to engine is zero!\n");
exit(1);
}
+ if (args == NULL)
+ {
+ printf("args pointer passed to engine is NULL!\n");
+ exit(1);
+ }
strncpy(buffer, "Hallo ", buffer_size);
return 6;
}
|
|