]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: fix two potential memory errors.
authorVaclav Dolezal <vdolezal@redhat.com>
Mon, 14 Aug 2017 10:57:52 +0000 (12:57 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 20 Sep 2017 12:21:43 +0000 (14:21 +0200)
commit8f4d17baa08dfe574a261be20884d20cd6547ae9
tree01b22730d8edae447e4e3422b7b64a57fa6e933a
parent7e99818e51bd25f79b9a676c960073a812854ccb
libfdisk: fix two potential memory errors.

Fixes one leak and one unchecked allocation error.

[kzak@redhat.com: - don't call fdisk_ask_menu_get_result()
                    after failed fdisk_do_ask()]

Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/dos.c
libfdisk/src/gpt.c