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/kadmin CID 1011266: Uncheck...



details:   https://anonhg.NetBSD.org/src/rev/5c739eaf5bc5
branches:  trunk
changeset: 329164:5c739eaf5bc5
user:      christos <christos%NetBSD.org@localhost>
date:      Mon May 12 15:34:23 2014 +0000

description:
CID 1011266: Unchecked returns

diffstat:

 crypto/external/bsd/heimdal/dist/kadmin/rpc.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5def3c518e8b -r 5c739eaf5bc5 crypto/external/bsd/heimdal/dist/kadmin/rpc.c
--- a/crypto/external/bsd/heimdal/dist/kadmin/rpc.c     Mon May 12 15:33:12 2014 +0000
+++ b/crypto/external/bsd/heimdal/dist/kadmin/rpc.c     Mon May 12 15:34:23 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpc.c,v 1.1.1.2 2014/04/24 12:45:27 pettai Exp $       */
+/*     $NetBSD: rpc.c,v 1.2 2014/05/12 15:34:23 christos Exp $ */
 
 /*
  * Copyright (c) 2008 Kungliga Tekniska Högskolan
@@ -465,7 +465,7 @@
     ent->max_life = flag;
     CHECK(krb5_ret_uint32(sp, &flag));
     if (flag == 0)
-       ret_principal_xdr(contextp, sp, &ent->mod_name);
+       CHECK(ret_principal_xdr(contextp, sp, &ent->mod_name));
     CHECK(krb5_ret_uint32(sp, &flag));
     ent->mod_date = flag;
     CHECK(krb5_ret_uint32(sp, &flag));



Home | Main Index | Thread Index | Old Index