diff options
author | Karel Zak | 2017-04-06 12:13:46 +0200 |
---|---|---|
committer | Karel Zak | 2017-04-06 12:13:46 +0200 |
commit | a8294f401f627bd6e9f918d629caebfdf4bdc9f6 (patch) | |
tree | 81290d4bd496ceadc35c357bccd60ff36838fb36 /lib | |
parent | libfdisk: (gpt) make entries array size calculation more robust (diff) | |
download | kernel-qcow2-util-linux-a8294f401f627bd6e9f918d629caebfdf4bdc9f6.tar.gz kernel-qcow2-util-linux-a8294f401f627bd6e9f918d629caebfdf4bdc9f6.tar.xz kernel-qcow2-util-linux-a8294f401f627bd6e9f918d629caebfdf4bdc9f6.zip |
libfdisk: (gpt) care about SSIZE_MAX for read(2)
read(2) behavior is undefined if you want to read more than SSIZE_MAX
bytes. Let's be paranoid and check for this...
Reported-by: Ruediger Meier <sweet_f_a@gmx.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions