From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR06-DB8-obe.outbound.protection.outlook.com (mail-db8eur06olkn2083.outbound.protection.outlook.com [40.92.51.83]) by sourceware.org (Postfix) with ESMTPS id BA2D1385DC0A for ; Fri, 19 Jun 2020 18:19:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BA2D1385DC0A ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mm2ZChX7BlCl2C8y+1m/VUT97qxo3HIqgSt1sAnEwttKLzbK8oKIoTbGh0MXuK5RtOkJ+2ef6mVPiQAd9Zwcev6BSExLYJU50RpTiEBwNkVhGgdEncWLJCcFD6SNaDUVTRfPqkkvhxnLYP5GMclhW4Dvnkyt/gvKeCZht9c7/jHkiitob/mG8lcrFWFU8CyLX9eVSNFpvxByCTbAAHBieEVJDizsoNhfd9S2+twKMDmMb7/YMzAu7oIXJ6kwc7kbdMWTdaZ3RPiKCuRZsHr4nigt21SiNa5C94P0FRULseqEcnAx1FUOuht0roiLRoT/KG8javGte66pOT0OR/9iUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RvvbCIL9vc/1lj+GH3DdWRo/NdzTEVSNf77/Ito+G7s=; b=lVzUb4jDMM98wvZ0AsieMSshpm/urG/w/o5WyEq5Ar2JMVFB9ZlksbWkcFosF2k6IruF3E0J6l11RFtJEjg8Tlws1lzGdTglo3VQipckXF8YlhKc33k/K5XFPXhOv9j+MoIRAoiQzqC6Iz5NgAWc5AxfUg4iI1yJR6MkY/EjTWg+6JItqovBr/5p/JqxRBZKWmO9seJiVes/H4qk+bZrkxfO+MMSg4Oz8uYroACVfcURKbMO5C0Fzfaq3o7RNU4XemrRsbrvFM03XyIS1O3ZyYRXlVrqX3E0gwDUuW5+2ALH5ltamM7JsxVQuJsUZWf9mzMv0I1dF75n+PsMmKeRYA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DB8EUR06FT063.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::50) by DB8EUR06HT214.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Fri, 19 Jun 2020 18:19:28 +0000 Received: from DB7PR01MB5193.eurprd01.prod.exchangelabs.com (2a01:111:e400:fc35::40) by DB8EUR06FT063.mail.protection.outlook.com (2a01:111:e400:fc35::367) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22 via Frontend Transport; Fri, 19 Jun 2020 18:19:28 +0000 Received: from DB7PR01MB5193.eurprd01.prod.exchangelabs.com ([fe80::3db9:cc82:511b:b8fb]) by DB7PR01MB5193.eurprd01.prod.exchangelabs.com ([fe80::3db9:cc82:511b:b8fb%2]) with mapi id 15.20.3109.021; Fri, 19 Jun 2020 18:19:28 +0000 From: Hashim Aziz To: cygwin Subject: DD bug fails to wipe last 48 sectors of a disk Thread-Topic: DD bug fails to wipe last 48 sectors of a disk Thread-Index: AQHWRlgtCZZ0g6noFEKBC6QD7s7xqA== Date: Fri, 19 Jun 2020 18:19:28 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:7D5D21A0FE4A00C5AAB1AD5F1C36BB8E62F21CAE96382AF70E8A03ADBDDC94D0; UpperCasedChecksum:072C87F77ED7CF56621F7AFEF322E9B12601623A59904FD502FE3524B7525AC9; SizeAsReceived:6706; Count:42 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [EJbs55h46BT7KgDtPK0unOmF4LY4V3Al] x-ms-publictraffictype: Email x-incomingheadercount: 42 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 7efb08e5-1e0c-45d5-df4a-08d8147d4dcd x-ms-traffictypediagnostic: DB8EUR06HT214: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hVs2yC/+WabhGNk1uOdEtVy0W2WmZ+xJTcNWdS4XZ4/M8Oh0mMxmaf7Fggh0cBSmsyD6Q75jlfguaY/eQ6hS0GA1pizAHlcPHjVI6cFpwHC1r64fuOqfN8FSubqF+cuX7/K4qjvQ4Kf8wzE0xLZF9LFXhVyNxpN6H8C0/TFw/A3FuHnPajqqGIWM/Sdtl/vxQGq6oQk11HOiKBjS1RDka0BGa0n6L0W+88ohw14+FjDlreJpEbUVRpg0ritOALur x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR01MB5193.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; x-ms-exchange-antispam-messagedata: vjBoWO9N2PSfWAcSf4DLaqgynjZjBvyavSAURJcoAlAF6qe0UwtvQDR1c49cLuYB0Xb72qw+W/YoPpA0gjQjFQxxgIcisnntJsFM7Hu5E4ztWdTmgg7XHeFw8kDjHq7UITDqqedX1yX3Yh/x6bE9BA== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 7efb08e5-1e0c-45d5-df4a-08d8147d4dcd X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jun 2020 18:19:28.0940 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR06HT214 X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_20, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2020 18:19:31 -0000 I first came across this bug last year, and wrote up my findings in a detai= led answer to the StackExchange network: https://superuser.com/questions/1505715/why-does-dd-give-me-an-error-at-the= -end-of-zero-writing-a-disk I didn=92t then have the time to report it to this mailing list, but have j= ust tested it using the latest version of Cygwin on the same two disks as I= did then, and can confirm that the problem still persists. It=92s also of = note that I was running Windows 7 back then and am currently running 10, so= this is now confirmed to manifest on both of the last two Windows OSes. I= =92m happy to work with the team to get this fixed, as I frequently need to= make use of Cygwin dd to zero out drives for both security and regulatory = compliance reasons, and failing to wipe the last 48 sectors of all drives i= s a pretty significant security risk. Thanks, Hashim