From 803b3a091c225d48395508a8f9ffa6e08cbddc5b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 14 May 2024 21:23:00 +0200 Subject: Merging upstream version 2.40.1. Signed-off-by: Daniel Baumann --- libfdisk/src/dos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libfdisk/src') diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c index ecf0b36..5c00164 100644 --- a/libfdisk/src/dos.c +++ b/libfdisk/src/dos.c @@ -790,7 +790,7 @@ static void get_partition_table_geometry(struct fdisk_context *cxt, unsigned int *ph, unsigned int *ps) { unsigned char *bufp = cxt->firstsector; - struct { unsigned int c, h, o, v; } t[8]; + struct { unsigned int c, h, o, v; } t[8] = { 0 }; unsigned int n1, n2, n3, n4, n5, n6; const struct dos_partition *p; unsigned int c, h, s, l; -- cgit v1.2.3