ssnprintf() ensures null termination, which is especially important when using "%s" in the format.
llist_append (*meta, entry);
}
- snprintf (buffer, sizeof (buffer), "%s `%s'", ci->key, meta_key);
+ ssnprintf (buffer, sizeof (buffer), "%s `%s'", ci->key, meta_key);
/* Can't pass &entry->value into mr_add_regex, so copy in/out. */
re_head = entry->value;
status = mr_add_regex (&re_head, ci->values[1].value.string, buffer);