diff --git a/src/unshield.c b/src/unshield.c index 62b1baf..0391809 100644 --- a/src/unshield.c +++ b/src/unshield.c @@ -455,6 +455,9 @@ static bool extract_file(Unshield* unshield, const char* prefix, int index) case '>': case '[': case ']': + if (raw_filename) + break; + *p = '_'; break;