...
|
...
|
@@ -366,7 +366,10 @@ cl_unrar_error_t unrar_extract_file(void* hArchive, const char* destPath, char *
|
366
|
366
|
}
|
367
|
367
|
|
368
|
368
|
process_file_ret = RARProcessFile(hArchive, RAR_EXTRACT, NULL, (char *)destPath);
|
369
|
|
- if (ERAR_SUCCESS != process_file_ret) {
|
|
369
|
+ if (ERAR_BAD_DATA == process_file_ret) {
|
|
370
|
+ unrar_dbgmsg("unrar_extract_file: Warning: Bad data/Invalid CRC. Attempting to scan anyways...\n");
|
|
371
|
+ }
|
|
372
|
+ else if (ERAR_SUCCESS != process_file_ret) {
|
370
|
373
|
status = unrar_retcode(process_file_ret);
|
371
|
374
|
goto done;
|
372
|
375
|
}
|