Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/mdocml/dist CID 1257467: Annotate incorrect inull.



details:   https://anonhg.NetBSD.org/src/rev/bfd993141f89
branches:  trunk
changeset: 342759:bfd993141f89
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 07 20:11:57 2016 +0000

description:
CID 1257467: Annotate incorrect inull.

diffstat:

 external/bsd/mdocml/dist/read.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 884b2549cdd2 -r bfd993141f89 external/bsd/mdocml/dist/read.c
--- a/external/bsd/mdocml/dist/read.c   Thu Jan 07 20:10:55 2016 +0000
+++ b/external/bsd/mdocml/dist/read.c   Thu Jan 07 20:11:57 2016 +0000
@@ -1,4 +1,4 @@
-/*     $Id: read.c,v 1.13 2016/01/07 19:49:25 christos Exp $ */
+/*     $Id: read.c,v 1.14 2016/01/07 20:11:57 christos Exp $ */
 /*
  * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps%bsd.lv@localhost>
  * Copyright (c) 2010-2015 Ingo Schwarze <schwarze%openbsd.org@localhost>
@@ -823,6 +823,7 @@
 
        save_errno = errno;
        if (access(file, R_OK) == -1) {
+               /*coverity[REVERSE_INULL]*/
                if (cp != NULL)
                        errno = save_errno;
                free(cp);



Home | Main Index | Thread Index | Old Index