pmap_prot2.c (xdr_pmaplist): Ensure variable set before use
authorEzra Peisach <epeisach@mit.edu>
Tue, 19 Jun 2001 17:37:31 +0000 (17:37 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 19 Jun 2001 17:37:31 +0000 (17:37 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13387 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/rpc/ChangeLog
src/lib/rpc/pmap_prot2.c

index 4b18e77503085384ce1d9dcb686e266bc8bb20c0..a6ce019e89fb36a7f9d7e3d20dca2b8cf03ccf7b 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-19  Ezra Peisach  <epeisach@mit.edu>
+
+       * pmap_prot2.c (xdr_pmaplist): Ensure variable set before use. 
+
 2001-06-18  Ezra Peisach  <epeisach@mit.edu>
 
        * auth_gssapi.c (auth_gssapi_create): Cast const gss_OID to
index 1c64a4f2cc7bbe9fd70dfb81184d02b2c12cfd78..8c9722b21243ac149bbc72984b26ccab0b6bae95 100644 (file)
@@ -93,7 +93,7 @@ xdr_pmaplist(xdrs, rp)
         */
        bool_t more_elements;
        register int freeing = (xdrs->x_op == XDR_FREE);
-       register struct pmaplist **next;
+       register struct pmaplist **next = NULL;
 
        while (TRUE) {
                more_elements = (bool_t)(*rp != NULL);