summaryrefslogtreecommitdiffstats
path: root/login-utils/login.c
diff options
context:
space:
mode:
authorKarel Zak2011-02-17 11:02:26 +0100
committerKarel Zak2011-02-17 11:02:26 +0100
commit2fa3fbe858fe194069a30b1b991b2473d4edc307 (patch)
tree9ff48c463c9ae4c6f9511a4d21336b35a7c0045f /login-utils/login.c
parentlibuuid: move __uuid function to UUIDD_PRIVATE in uuid.sym (diff)
downloadkernel-qcow2-util-linux-2fa3fbe858fe194069a30b1b991b2473d4edc307.tar.gz
kernel-qcow2-util-linux-2fa3fbe858fe194069a30b1b991b2473d4edc307.tar.xz
kernel-qcow2-util-linux-2fa3fbe858fe194069a30b1b991b2473d4edc307.zip
fdisk: more robust whole-disk detection
In lib/wholedisk.c, i is set to 0. If fd was a -1, then at line 18 geometry.start is used without it being initialized. Reported-by: Steve Grubb <sgrubb@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/login.c')
0 files changed, 0 insertions, 0 deletions