OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/xdr-encode-octedstream.c versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/xdr-encode-octedstream.c 1.1 -> 1.2

--- xdr-encode-octedstream.c     2001/07/19 14:58:27     1.1
+++ xdr-encode-octedstream.c     2001/07/19 15:02:47     1.2
@@ -49,6 +49,7 @@
        padding. */
 
     p       = (u_int8_t*)va_arg(*args, void*);
+    assert(p != NULL);
     p_len   = va_arg(*args, size_t);
     padding = (4 - (p_len & 0x03)) & 0x03;
     assert((p_len + padding) % 4 == 0);

CVSTrac 2.0.1