Module Name: src
Committed By: christos
Date: Thu Jan 7 20:11:57 UTC 2016
Modified Files:
src/external/bsd/mdocml/dist: read.c
Log Message:
CID 1257467: Annotate incorrect inull.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/mdocml/dist/read.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/mdocml/dist/read.c
diff -u src/external/bsd/mdocml/dist/read.c:1.13 src/external/bsd/mdocml/dist/read.c:1.14
--- src/external/bsd/mdocml/dist/read.c:1.13 Thu Jan 7 14:49:25 2016
+++ src/external/bsd/mdocml/dist/read.c Thu Jan 7 15:11:57 2016
@@ -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 <[email protected]>
* Copyright (c) 2010-2015 Ingo Schwarze <[email protected]>
@@ -823,6 +823,7 @@ mparse_open(struct mparse *curp, int *fd
save_errno = errno;
if (access(file, R_OK) == -1) {
+ /*coverity[REVERSE_INULL]*/
if (cp != NULL)
errno = save_errno;
free(cp);