summaryrefslogtreecommitdiff
path: root/lib/rpmte.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-06-22 18:51:56 +0000
committerjbj <devnull@localhost>2002-06-22 18:51:56 +0000
commit05cb73a7ee762065339393057d421613866e0418 (patch)
tree533b7192c83e882aab90c337d4356735932de7f0 /lib/rpmte.c
parentba41c1ccb13a7a27466470e501a0d4f30fddec40 (diff)
downloadlibrpm-tizen-05cb73a7ee762065339393057d421613866e0418.tar.gz
librpm-tizen-05cb73a7ee762065339393057d421613866e0418.tar.bz2
librpm-tizen-05cb73a7ee762065339393057d421613866e0418.zip
Factor bounds checking annotations into source code.
CVS patchset: 5521 CVS date: 2002/06/22 18:51:56
Diffstat (limited to 'lib/rpmte.c')
-rw-r--r--lib/rpmte.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c
index 9c872d034..56402c017 100644
--- a/lib/rpmte.c
+++ b/lib/rpmte.c
@@ -22,7 +22,6 @@
int _rpmte_debug = 0;
/*@access alKey @*/
-/*@access rpmte @*/
/*@access rpmtsi @*/
/*@access rpmts @*/
@@ -67,7 +66,9 @@ static void delTE(rpmte p)
p->h = headerFree(p->h, "delTE");
+/*@-boundswrite@*/
memset(p, 0, sizeof(*p)); /* XXX trash and burn */
+/*@=boundswrite@*/
/*@-nullstate@*/ /* FIX: p->{NEVR,name} annotations */
return;
/*@=nullstate@*/