summaryrefslogtreecommitdiffstats
path: root/misc-utils
diff options
context:
space:
mode:
authorSami Kerola2019-05-22 20:45:54 +0200
committerSami Kerola2019-05-22 20:45:54 +0200
commit620851e0cc297c2caadf9d4480028e181d8963ee (patch)
tree88a22688ac1c692b84140f284898acd6f079b0db /misc-utils
parentlibfdisk: (bsd) improve checksum calculation [-Waddress-of-packed-member] (diff)
downloadkernel-qcow2-util-linux-620851e0cc297c2caadf9d4480028e181d8963ee.tar.gz
kernel-qcow2-util-linux-620851e0cc297c2caadf9d4480028e181d8963ee.tar.xz
kernel-qcow2-util-linux-620851e0cc297c2caadf9d4480028e181d8963ee.zip
libfdisk: assert if self_pte() returns NULL
The self_pte() can return NULL if partitions array is not large enough, but that should also be impossible and definitely a bug. libfdisk/src/dos.c:984:8: warning: potential null pointer dereference [-Wnull-dereference] libfdisk/src/dos.c:1031:8: warning: potential null pointer dereference [-Wnull-dereference] Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'misc-utils')
0 files changed, 0 insertions, 0 deletions