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 Copy coverity allo...



details:   https://anonhg.NetBSD.org/src/rev/1cfee314f3d3
branches:  trunk
changeset: 764272:1cfee314f3d3
user:      elric <elric%NetBSD.org@localhost>
date:      Thu Apr 14 18:00:30 2011 +0000

description:
Copy coverity alloc comments from old location.

diffstat:

 crypto/external/bsd/heimdal/dist/lib/krb5/auth_context.c |  4 +++-
 crypto/external/bsd/heimdal/dist/lib/krb5/salt.c         |  3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r e56acebac1b0 -r 1cfee314f3d3 crypto/external/bsd/heimdal/dist/lib/krb5/auth_context.c
--- a/crypto/external/bsd/heimdal/dist/lib/krb5/auth_context.c  Thu Apr 14 17:43:07 2011 +0000
+++ b/crypto/external/bsd/heimdal/dist/lib/krb5/auth_context.c  Thu Apr 14 18:00:30 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: auth_context.c,v 1.1.1.1 2011/04/13 18:15:31 elric Exp $       */
+/*     $NetBSD: auth_context.c,v 1.2 2011/04/14 18:00:30 elric Exp $   */
 
 /*
  * Copyright (c) 1997 - 2002 Kungliga Tekniska Högskolan
@@ -264,6 +264,7 @@
     return 0;
 }
 
+/* coverity[+alloc : arg-*2] */
 static krb5_error_code
 copy_key(krb5_context context,
         krb5_keyblock *in,
@@ -291,6 +292,7 @@
     return copy_key(context, auth_context->local_subkey, keyblock);
 }
 
+/* coverity[+alloc : arg-*2] */ 
 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
 krb5_auth_con_getremotesubkey(krb5_context context,
                              krb5_auth_context auth_context,
diff -r e56acebac1b0 -r 1cfee314f3d3 crypto/external/bsd/heimdal/dist/lib/krb5/salt.c
--- a/crypto/external/bsd/heimdal/dist/lib/krb5/salt.c  Thu Apr 14 17:43:07 2011 +0000
+++ b/crypto/external/bsd/heimdal/dist/lib/krb5/salt.c  Thu Apr 14 18:00:30 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: salt.c,v 1.1.1.1 2011/04/13 18:15:37 elric Exp $       */
+/*     $NetBSD: salt.c,v 1.2 2011/04/14 18:00:30 elric Exp $   */
 
 /*
  * Copyright (c) 1997 - 2008 Kungliga Tekniska Högskolan
@@ -35,6 +35,7 @@
 
 #include "krb5_locl.h"
 
+/* coverity[+alloc : arg-*3] */
 KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
 krb5_salttype_to_string (krb5_context context,
                         krb5_enctype etype,



Home | Main Index | Thread Index | Old Index