noit_metric_tagset_builder_add_many needs access to tag.total_size to correctly iterate through tagstr.
this fixes a bug where, when a tagnm was toolong the total_size was not being set and would result in an overflow when trying to subtract an unknown value from the size_t tagstr_len which is unsigned.
add test for tag pairs that are too long.
in the test file, I made Matches a structure definition to prevent merge conflicts when I add the implicit tag testing that uses the same struct.
noit_metric_tagset_builder_add_many
needs access totag.total_size
to correctly iterate throughtagstr
.this fixes a bug where, when a
tagnm
wastoolong
thetotal_size
was not being set and would result in an overflow when trying to subtract an unknown value from thesize_t tagstr_len
which is unsigned.add test for tag pairs that are too long.
in the test file, I made
Matches
a structure definition to prevent merge conflicts when I add the implicit tag testing that uses the same struct.