add firewall for malformed inputs
authorJohn Kohl <jtkohl@mit.edu>
Fri, 15 Mar 1991 15:39:52 +0000 (15:39 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 15 Mar 1991 15:39:52 +0000 (15:39 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1920 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/asn.1/kadat2adat.c
src/lib/krb5/asn.1/kaddr2addr.c
src/lib/krb5/asn.1/klsrq2lsrq.c

index c595c8c87817d94ff7e2e5ec4c0340d07ed2e355..51b2135981b018318e914b676cd11eac9b38b5ef 100644 (file)
@@ -109,5 +109,7 @@ register int *error;
            goto errout;
        }
     }
+    if (retval == 0)
+       *error = ISODE_LOCAL_ERR_MISSING_PART;
     return(retval);
 }
index 6e7cfbd2fe8967604daaab3498c2e76a5bc28da8..08bd935826b63e28587130798d8b5c2888534fbd 100644 (file)
@@ -109,5 +109,7 @@ register int *error;
            goto errout;
        }
     }
+    if (retval == 0)
+       *error = ISODE_LOCAL_ERR_MISSING_PART;
     return(retval);
 }
index fac1504707f1b8a7f3a860322f0b82a11ecef1d7..62aa544a2fab01570317e7ea811425e5381aaed5 100644 (file)
@@ -106,5 +106,7 @@ register int *error;
            goto errout;
        }
     }
+    if (retval == 0)
+       *error = ISODE_LOCAL_ERR_MISSING_PART;
     return(retval);
 }