]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mkswap: fix holes detection (infinite loop and/or stack-buffer-underflow)
authorKarel Zak <kzak@redhat.com>
Tue, 15 Jun 2021 10:04:43 +0000 (12:04 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 20 Jul 2021 09:14:38 +0000 (11:14 +0200)
commit3871a969ed98c1c3edc35b6092ac897d54e2e7cd
tree934167a5d38692e6c90eb4c9ee94ac1b35cd3f38
parent612913cda59b39ddcbf56af80eab6620cada56e8
mkswap: fix holes detection (infinite loop and/or stack-buffer-underflow)

Reported-by: Brian Lane <bcl@redhat.com>
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1971877
Fix: https://github.com/karelzak/util-linux/issues/1348
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/mkswap.c