Commit Graph

3 Commits

Author SHA1 Message Date
shivers 400bc57c41 group_info_gid & group_info_name core dumped when the input parameter was
bogus. Fixed.
    -Olin
2000-02-11 04:39:49 +00:00
shivers db69cd677b Some functions that were passed string "out" paramters (char**)'s were
neglecting to assign them in error cases. We'd return from the C function
into the cig C stub with random garbage still in these pointers. The
string rep converters would then treat this garbage as a real pointer to
be copied into malloc'd storage, and havoc would result.

I fixed the code to assign 0 to the pointers in error cases. I should fix
cig to pre-initialise out parameters. The only real problem code was in
userinfo1.c, but I scanned all the sources, and fixed a few suspicious cases
here and there as well.
1997-04-04 20:49:55 +00:00
shivers 7d2447407a Renamed userinfo.c to userinfo1.c 1995-10-22 11:04:17 +00:00