]> 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>
Mon, 25 Feb 2019 13:08:56 +0000 (14:08 +0100)
commit834b3d07e498937b729306358683ade395c7df7f
treee09d93965a2d59737c4e0ba4c1545156df872023
parentadea904a61a93557e08809249fcac38e9da5cebd
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