diff options
Diffstat (limited to 'rpmtools.xs')
-rw-r--r-- | rpmtools.xs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmtools.xs b/rpmtools.xs index b8b166f..3d79013 100644 --- a/rpmtools.xs +++ b/rpmtools.xs @@ -160,7 +160,8 @@ SV *get_table_sense(Header header, int_32 tag_name, int_32 tag_flags, int_32 tag } for(i = 0; i < count; i++) { - len = strlen(list[i]); if (len >= sizeof(buff)) continue; + len = strlen(list[i]); + if (len >= sizeof(buff) || !strncmp(list[i], "rpmlib(", 7)) continue; memcpy(p = buff, list[i], len + 1); p+= len; if (flags) { |