]> 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, 15 Jun 2021 10:07:34 +0000 (12:07 +0200)
commit8a3a74160b96498d672e3652827aa7e6d7f3a120
tree04979683ce5fc43fdb2baf6c883cfba71177ede5
parent3e03cb680668e4d47286bc7e6ab43e47bb84c989
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