From: Karel Zak Date: Wed, 10 Jun 2026 08:52:02 +0000 (+0200) Subject: Merge branch 'master-branch-5' of https://github.com/Leefancy/util-linux X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5d32a254f2f2a30173b6c0c07f808e6037e8b83;p=thirdparty%2Futil-linux.git Merge branch 'master-branch-5' of https://github.com/Leefancy/util-linux * 'master-branch-5' of https://github.com/Leefancy/util-linux: fix(resize_partition): initialize index to avoid undefined behavior # Conflicts: # disk-utils/fdisk.c --- c5d32a254f2f2a30173b6c0c07f808e6037e8b83 diff --cc disk-utils/fdisk.c index 57e56671dd,6505269a46..a593487cac --- a/disk-utils/fdisk.c +++ b/disk-utils/fdisk.c @@@ -682,9 -684,8 +682,9 @@@ void resize_partition(struct fdisk_cont struct fdisk_partition *pa = NULL, *npa = NULL, *next = NULL; char *query = NULL, *response = NULL, *default_size; struct fdisk_table *tb = NULL; - uint64_t max_size, size, secs; + uint64_t max_size, secs; + uintmax_t size; - size_t i; + size_t i = 0; int rc; assert(cxt);