From ad5847ee696a07335907258cca76f709c6726250 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Mon, 11 Dec 2017 19:31:54 +0000 Subject: [PATCH] FreeBSD triple panics reading CD Lead-in. --- DiscImageChef.Core/Devices/Dumping/CompactDisc.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/DiscImageChef.Core/Devices/Dumping/CompactDisc.cs b/DiscImageChef.Core/Devices/Dumping/CompactDisc.cs index 171547e5..9aff683b 100644 --- a/DiscImageChef.Core/Devices/Dumping/CompactDisc.cs +++ b/DiscImageChef.Core/Devices/Dumping/CompactDisc.cs @@ -433,6 +433,11 @@ namespace DiscImageChef.Core.Devices.Dumping dumpLog.WriteLine("Reading Lead-in"); for(int leadInBlock = -150; leadInBlock < 0 && resume.NextBlock == 0; leadInBlock++) { + if(dev.PlatformID == Interop.PlatformID.FreeBSD) + { + DicConsole.DebugWriteLine("Dump-Media", "FreeBSD panics when reading CD Lead-in, see upstream bug #FILLME."); + break; + } if(aborted) { dumpLog.WriteLine("Aborted!");