Fix a potential free() of string literal in oid2name, per report from
Neil Conway <neilc@samurai.com>
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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/oid2name/oid2name.c | modified | +25 −12 |