[gparted] erase_filesystem_signatures writes uninitialized data
- From: Curtis Gedak <gedakc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted] erase_filesystem_signatures writes uninitialized data
- Date: Tue, 5 Oct 2010 19:05:34 +0000 (UTC)
commit ddf225728f301b18c45661b636bfd53c58ad1ff4
Author: Seth Heeren <sgheeren hotmail com>
Date: Sun Oct 3 02:53:05 2010 +0200
erase_filesystem_signatures writes uninitialized data
tagged FIXME
src/GParted_Core.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc
index c34aa25..36e6bc5 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 ) ;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]