mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Do not skip text-based images on NULL, if they're smaller than
512 the test buffer gets NULL-filled.
This commit is contained in:
@@ -250,7 +250,7 @@ namespace DiscImageChef.ImagePlugins
|
||||
// Check for unexpected control characters that shouldn't be present in a text file and can crash this plugin
|
||||
foreach(byte b in testArray)
|
||||
{
|
||||
if(b < 0x20 && b != 0x0A && b != 0x0D)
|
||||
if(b < 0x20 && b != 0x0A && b != 0x0D && b != 0x00)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user