bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ped_disk_set_partition_geom minor fix


From: Bart Hakvoort
Subject: ped_disk_set_partition_geom minor fix
Date: Sat, 29 Jul 2006 21:16:33 +0200 (CEST)
User-agent: SquirrelMail/1.4.6

Hi,

ped_disk_set_partition_geom() in disk.c calls ped_geometry_init() and
doesn't check the return value. This way the new geom will be assigned to
the partition even if it's not valid.
Attached is a patch to fix this.

grtz,

Bart

-- 
--- plors

Attachment: ped_disk_set_partition_geom.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]