diff options
author | jbj <devnull@localhost> | 2002-07-02 23:54:35 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-07-02 23:54:35 +0000 |
commit | e5fb770e7d9aac53a513965c0f2bcf360934794b (patch) | |
tree | d8d581ec8f694a4811172b401e4dcda68898954a /build.c | |
parent | 77076c7c8d83f8b783634c7328b132b938389987 (diff) | |
download | librpm-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |