diff options
author | Karel Zak | 2011-02-17 11:02:26 +0100 |
---|---|---|
committer | Karel Zak | 2011-02-17 11:02:26 +0100 |
commit | 2fa3fbe858fe194069a30b1b991b2473d4edc307 (patch) | |
tree | 9ff48c463c9ae4c6f9511a4d21336b35a7c0045f /login-utils/login.c | |
parent | libuuid: move __uuid function to UUIDD_PRIVATE in uuid.sym (diff) | |
download | kernel-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