mshow: extract: skip leading spaces for file names

Found by Solene Rapenne.
pull/147/head
Leah Neukirchen 6 years ago
parent 9d28d930e4
commit c2e0dcec3c

@ -555,6 +555,8 @@ extract_mime(int depth, struct message *msg, char *body, size_t bodylen)
void
extract_cb(char *file)
{
while (*file == ' ' || *file == '\t')
file++;
struct message *msg = blaze822_file(file);
if (!msg)
return;

Loading…
Cancel
Save