diff options
| author | Christoph Hellwig <[email protected]> | 2020-10-16 15:20:39 +0200 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2020-12-01 11:32:55 -0800 |
| commit | cbf82e35031b135928f36e72c6d166e935530b6a (patch) | |
| tree | 7d893bafdff0aca400ced8dcb6eb930442a05f8c /lib/test_fortify/write_overflow-strlcpy.c | |
| parent | 3cea11cd5e3b00d91caf0b4730194039b45c5891 (diff) | |
pstore/zone: cap the maximum device size
Introduce an abritrary 128MiB cap to avoid malloc failures when using
a larger block device.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: WeiXiong Liao <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy.c')
0 files changed, 0 insertions, 0 deletions