Commit 06cf412c authored by Jan Gerber's avatar Jan Gerber
Browse files

dont output metadata with invalid characters

parent e361b0af
......@@ -359,6 +359,7 @@ static int utf8_validate (char *s, int n) {
i+=4;
continue;
}
if (s[i] < 0) goto error;
if (s[i] < 128) {
i++;
continue;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment