]> andersk Git - openssh.git/commitdiff
- deraadt@cvs.openbsd.org 2001/04/16 08:26:04
authormouring <mouring>
Tue, 17 Apr 2001 18:06:14 +0000 (18:06 +0000)
committermouring <mouring>
Tue, 17 Apr 2001 18:06:14 +0000 (18:06 +0000)
     [key.c]
     better safe than sorry in later mods; yongari@kt-is.co.kr

ChangeLog
key.c

index 82b42cf7b22518b1c9be562ad44d7079627aba53..a06e3c9cc48f2cd806b7db495f781514c7fbc301 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
   - (bal) Add perl5 check for HP/UX, Removed GNUness from Makefile.in
     and temporary commented out 'catman-do:' since it is broken.  Patches
     for the first two by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
+  - OpenBSD CVS Sync
+   - deraadt@cvs.openbsd.org 2001/04/16 08:26:04                         
+     [key.c]                                                             
+     better safe than sorry in later mods; yongari@kt-is.co.kr   
 
 20010416
   - OpenBSD CVS Sync
diff --git a/key.c b/key.c
index 8623fd3054c65f857058193e3eb58f39faba5250..fbd9f4efc514bf329a5cf55fa6a2e67958ca8be1 100644 (file)
--- a/key.c
+++ b/key.c
@@ -32,7 +32,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 #include "includes.h"
-RCSID("$OpenBSD: key.c,v 1.23 2001/04/05 10:42:50 markus Exp $");
+RCSID("$OpenBSD: key.c,v 1.24 2001/04/16 08:26:04 deraadt Exp $");
 
 #include <openssl/evp.h>
 
@@ -216,7 +216,7 @@ key_fingerprint_hex(u_char* dgst_raw, size_t dgst_raw_len)
        char *retval;
        int i;
 
-       retval = xmalloc(dgst_raw_len * 3);
+       retval = xmalloc(dgst_raw_len * 3 + 1);
        retval[0] = '\0';
        for(i = 0; i < dgst_raw_len; i++) {
                char hex[4];
This page took 0.054174 seconds and 5 git commands to generate.