diff options
| author | Ilya Krutskih <devsec@tpz.ru> | 2026-07-19 13:01:03 +0000 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2026-07-20 15:27:42 +0200 |
| commit | 73c37fe54cd056d07461b142ab0b8b81e1ef6ad8 (patch) | |
| tree | 0f22f086663012a8adf54ad60f2ebb45c172bb79 /tools/perf/scripts/python | |
| parent | 4cf795dd0e3981ddc652c4d503b0880fe5250e88 (diff) | |
dm raid1: reserve space for NUL-terminator in build_constructor_string()
Reserve space for the termination NUL after the maximum 20 decimal
digits of a long long value to avoid buffer overflow in sprintf().
Fixes: f5db4af466e2 ("dm raid1: add userspace log")
Cc: stable@vger.kernel.org
Signed-off-by: Ilya Krutskih <devsec@tpz.ru>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
