Fix a potential free() of string literal in oid2name, per report from
authorNeil Conway <neilc@samurai.com>
Thu, 2 Dec 2004 06:14:50 +0000 (06:14 +0000)
committerNeil Conway <neilc@samurai.com>
Thu, 2 Dec 2004 06:14:50 +0000 (06:14 +0000)
commite02ef267fc3d41cbba41b2bf404d18a936d28691
tree18103be9e5fb9432623038bf4bf013e94cfc7266
parentb383c1db85773427573594603036dee86e88a0e3
Fix a potential free() of string literal in oid2name, per report from
Michael Fuhr. Along the way, fix a bunch of accesses to uninitialized
memory, add a mystrdup() routine and use it to cleanup some code.
contrib/oid2name/oid2name.c