[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Jim Meyering meyering at alioth.debian.org
Fri Mar 9 00:25:21 CET 2007


 libparted/labels/aix.c |   64 ++++++++++++++++++++++++++++++++----------------
 1 files changed, 43 insertions(+), 21 deletions(-)

New commits:
commit 4ec984c14a706275e540d9ad22053d845e93d82e
Author: Jim Meyering <jim at meyering.net>
Date:   Thu Mar 8 23:40:03 2007 +0100

    	aix.c: Avoid memory overrun.  Don't assume logical sector size <= 512B
    	* libparted/labels/aix.c (struct AixLabel): Remove definition.
    	(aix_label_magic_get, aix_label_magic_set): New functions.
    	(read_sector): New function.
    	(aix_probe): Rewrite not to use the above, and not a static buffer.
    	(aix_clobber): Likewise.
    	Also, rather than PED_ASSERT'ing that aix_probe returns 1,
    	simply return 0 if aix_probe returns fails.
    	(ped_disk_aix_init): Remove assertion, now that AixLabel is gone.




More information about the Parted-commits mailing list