]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: (dos) Use strtoul to parse the label-id
authorJuerg Haefliger <juerg.haefliger@canonical.com>
Fri, 22 Feb 2019 16:04:12 +0000 (17:04 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 2 Apr 2019 10:57:51 +0000 (12:57 +0200)
commit669b60a0ce66d73e474a4714828377d38f04f45d
tree5f36536c9376c2cd34f403c39ff2eae5fa2d5664
parent45f8c5c3a24346587263bf7af5c4b69361fcb98e
libfdisk: (dos) Use strtoul to parse the label-id

Parsing of the label-id fails on 32-bit if the MSB is set. Fix that by
using strtoul instead of strtol.

Signed-off-by: Juerg Haefliger <juergh@canonical.com>
libfdisk/src/dos.c