Appologies. This bug has different reason. I was dumping device as file and it's size is obviously 0. So the solution would be not allow 0 lenght files as input.
Appologies. This bug has different reason. I was dumping device as file and it's size is obviously 0.
So the solution would be not allow 0 lenght files as input.