Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/heimdal/dist/lib/krb5 CID 745319: Checki...
details: https://anonhg.NetBSD.org/src/rev/79d342e7fe77
branches: trunk
changeset: 329159:79d342e7fe77
user: christos <christos%NetBSD.org@localhost>
date: Mon May 12 15:21:46 2014 +0000
description:
CID 745319: Checking the wrong variable for NULL.
diffstat:
crypto/external/bsd/heimdal/dist/lib/krb5/pac.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ba8041511575 -r 79d342e7fe77 crypto/external/bsd/heimdal/dist/lib/krb5/pac.c
--- a/crypto/external/bsd/heimdal/dist/lib/krb5/pac.c Mon May 12 15:20:41 2014 +0000
+++ b/crypto/external/bsd/heimdal/dist/lib/krb5/pac.c Mon May 12 15:21:46 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pac.c,v 1.1.1.2 2014/04/24 12:45:50 pettai Exp $ */
+/* $NetBSD: pac.c,v 1.2 2014/05/12 15:21:46 christos Exp $ */
/*
* Copyright (c) 2006 - 2007 Kungliga Tekniska Högskolan
@@ -756,7 +756,7 @@
s2_len = (ucs2_len + 1) * 2;
s2 = malloc(s2_len);
- if (ucs2 == NULL) {
+ if (s2 == NULL) {
free(ucs2);
return krb5_enomem(context);
}
Home |
Main Index |
Thread Index |
Old Index