ssize_t len = m_strlen(value) + STRING;
char *testcmd = p_new(char, len);
- strcpy(testcmd, value);
+ m_strcpy(testcmd, len, value);
rfc1524_expand_command(a, a->filename, type, testcmd, len);
found = !mutt_system(testcmd);
p_delete(&testcmd);
return 0;
}
- mutt_check_lookup_list (a, type, SHORT_STRING);
+ mutt_check_lookup_list (a, type, STRING);
while (!found && *curr) {
x = 0;