various null-dereference problems fixed

This commit is contained in:
erikb
1986-09-02 15:22:54 +00:00
parent b18ced777e
commit c2a10ef9bc
6 changed files with 18 additions and 14 deletions

View File

@@ -310,7 +310,7 @@ idf2sdef(idf, tp)
*sdefp = sdef = new_sdef();
clear((char *)sdef, sizeof(struct sdef));
sdef->sd_idf = idf;
sdef->sd_type = error_type;
sdef->sd_stype = sdef->sd_type = error_type;
return sdef;
}