summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-07-02 23:54:35 +0000
committerjbj <devnull@localhost>2002-07-02 23:54:35 +0000
commite5fb770e7d9aac53a513965c0f2bcf360934794b (patch)
treed8d581ec8f694a4811172b401e4dcda68898954a /build.c
parent77076c7c8d83f8b783634c7328b132b938389987 (diff)
downloadlibrpm-tizen-e5fb770e7d9aac53a513965c0f2bcf360934794b.tar.gz
librpm-tizen-e5fb770e7d9aac53a513965c0f2bcf360934794b.tar.bz2
librpm-tizen-e5fb770e7d9aac53a513965c0f2bcf360934794b.zip
Add boundsread annotations throughout, enable +bounds checking.
Start narrowing the scope of bounds annotations by adding more annotations. CVS patchset: 5537 CVS date: 2002/07/02 23:54:35
Diffstat (limited to 'build.c')
-rw-r--r--build.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.c b/build.c
index 04208d5e6..4a00cb532 100644
--- a/build.c
+++ b/build.c
@@ -85,9 +85,11 @@ static int isSpecFile(const char * specfile)
case ':':
checking = 0;
/*@switchbreak@*/ break;
+/*@-boundsread@*/
default:
if (checking && !(isprint(*s) || isspace(*s))) return 0;
/*@switchbreak@*/ break;
+/*@=boundsread@*/
}
}
return 1;