From ddf225728f301b18c45661b636bfd53c58ad1ff4 Mon Sep 17 00:00:00 2001 From: Seth Heeren Date: Sun, 3 Oct 2010 02:53:05 +0200 Subject: [PATCH] erase_filesystem_signatures writes uninitialized data tagged FIXME --- src/GParted_Core.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc index c34aa252..36e6bc53 100644 --- a/src/GParted_Core.cc +++ b/src/GParted_Core.cc @@ -2910,6 +2910,7 @@ bool GParted_Core::erase_filesystem_signatures( const Partition & partition ) if ( ped_device_open( lp_device ) ) { //reiser4 stores "ReIsEr4" at sector 128 with a sector size of 512 bytes + // FIXME writing block of partially uninitialized bytes (security/privacy) return_value = ped_geometry_write( & lp_partition ->geom, "0000000", (65536 / lp_device ->sector_size), 1 ) ; ped_device_close( lp_device ) ;