summaryrefslogtreecommitdiff
path: root/rpmdb/header_internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdb/header_internal.c')
-rw-r--r--rpmdb/header_internal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmdb/header_internal.c b/rpmdb/header_internal.c
index 309b453de..87849c231 100644
--- a/rpmdb/header_internal.c
+++ b/rpmdb/header_internal.c
@@ -21,9 +21,11 @@ char ** headerGetLangs(Header h)
if ((table = (char **)xcalloc((count+1), sizeof(char *))) == NULL)
return NULL;
+/*@-boundswrite@*/
for (i = 0, e = *s; i < count > 0; i++, e += strlen(e)+1)
table[i] = e;
table[count] = NULL;
+/*@=boundswrite@*/
/*@-nullret@*/ return table; /*@=nullret@*/ /* LCL: double indirection? */
}