mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix null reference when converting non-tape images.
This commit is contained in:
@@ -1088,7 +1088,7 @@ namespace Aaru.Commands.Image
|
||||
|
||||
uint sectorsToDo;
|
||||
|
||||
if(inputTape.IsTape)
|
||||
if(inputTape?.IsTape == true)
|
||||
sectorsToDo = 1;
|
||||
else if(inputFormat.Info.Sectors - doneSectors >= (ulong)count)
|
||||
sectorsToDo = (uint)count;
|
||||
|
||||
Reference in New Issue
Block a user