OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/regression-tests/xds-decode.c versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/regression-tests/xds-decode.c 1.2 -> 1.3

--- xds-decode.c 2001/07/16 17:50:08     1.2
+++ xds-decode.c 2001/07/18 17:37:49     1.3
@@ -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);
+        }
     if (strncmp(buffer, "Hallo!", 6) != 0)
         {
         printf("The contents of the decode buffer are not what we expected.\n");

CVSTrac 2.0.1