]> andersk Git - openssh.git/commitdiff
- markus@cvs.openbsd.org 2001/12/25 18:53:00
authordjm <djm>
Tue, 22 Jan 2002 12:07:52 +0000 (12:07 +0000)
committerdjm <djm>
Tue, 22 Jan 2002 12:07:52 +0000 (12:07 +0000)
     [auth1.c]
     be more carefull on allocation

ChangeLog
auth1.c

index b9bad3b1bb429e59c273ef38248b194d5b315300..a3bd74894d09f3e7f6250642e01059529f6ef926 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,6 +29,9 @@
    - markus@cvs.openbsd.org 2001/12/25 18:49:56
      [key.c]
      be more careful on allocation
+   - markus@cvs.openbsd.org 2001/12/25 18:53:00
+     [auth1.c]
+     be more carefull on allocation
 
 20020121
  - (djm) Rework ssh-rand-helper:
diff --git a/auth1.c b/auth1.c
index 3aac26fccbc530f466525740c7e2b6f4beb72664..41628cedc5343cf00f48dabc4ab2b23c7d4f8cc4 100644 (file)
--- a/auth1.c
+++ b/auth1.c
@@ -10,7 +10,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: auth1.c,v 1.27 2001/12/19 07:18:56 deraadt Exp $");
+RCSID("$OpenBSD: auth1.c,v 1.28 2001/12/25 18:53:00 markus Exp $");
 
 #include "xmalloc.h"
 #include "rsa.h"
@@ -231,6 +231,8 @@ do_authloop(Authctxt *authctxt)
                        }
                        /* RSA authentication requested. */
                        n = BN_new();
+                       if (n == NULL)
+                               fatal("BN_new failed");
                        packet_get_bignum(n, &nlen);
                        packet_integrity_check(plen, nlen, type);
                        authenticated = auth_rsa(pw, n);
This page took 0.072594 seconds and 5 git commands to generate.