summaryrefslogtreecommitdiffstats
path: root/include/fileutils.h
diff options
context:
space:
mode:
authorSebastian Krahmer2014-12-05 10:06:42 +0100
committerKarel Zak2014-12-05 11:37:05 +0100
commit109df14fad4e9570e26950913ebace6c79289400 (patch)
treecca9a9f7fac162b3319821e56940ddf7b59925c7 /include/fileutils.h
parentlibfdisk: fix bug in cmp_numbers() and partitions sorting (diff)
downloadkernel-qcow2-util-linux-109df14fad4e9570e26950913ebace6c79289400.tar.gz
kernel-qcow2-util-linux-109df14fad4e9570e26950913ebace6c79289400.tar.xz
kernel-qcow2-util-linux-109df14fad4e9570e26950913ebace6c79289400.zip
libblkid: fix potential bufer overflows
While digging deeper into libblk probing, I found that some computations might wrap and allocate too few buffer space which then overflows. In particular on 32bit systems (chromebook) where size_t is 32bit, this is problematic (for 64bit the result fits into the calloc size_t). Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/fileutils.h')
0 files changed, 0 insertions, 0 deletions