Daniel Axtens 12e20a6a69 disk/diskfilter: Check calloc() result for NULL
With wildly corrupt inputs, we can end up trying to calloc a very
large amount of memory, which will fail and give us a NULL pointer.
We need to check that to avoid a crash. (And, even if we blocked
such inputs, it is good practice to check the results of allocations
anyway.)

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2022-10-11 14:49:39 +02:00
..
2019-03-25 15:14:52 +01:00
2022-03-14 15:44:45 +01:00
2022-03-14 15:44:45 +01:00
2022-03-14 15:44:45 +01:00
2012-03-26 16:10:40 +02:00
2019-03-25 15:14:52 +01:00
2022-03-14 15:44:45 +01:00
2022-03-14 15:44:45 +01:00