[key.c]
(really) last of the Coverity diffs: avoid possible NULL deref in
key_free. via elad AT netbsd.org; markus@ ok
memory leaks detected by Coverity via elad AT netbsd.org;
deraadt@ ok
that should be all of them now
+ - djm@cvs.openbsd.org 2006/03/20 11:38:46
+ [key.c]
+ (really) last of the Coverity diffs: avoid possible NULL deref in
+ key_free. via elad AT netbsd.org; markus@ ok
20060325
- OpenBSD CVS Sync
void
key_free(Key *k)
{
+ if (k == NULL)
+ fatal("key_free: key is NULL);
switch (k->type) {
case KEY_RSA1:
case KEY_RSA: