coredump: validate that path doesn't exceed UNIX_PATH_MAX
authorChristian Brauner <brauner@kernel.org>
Thu, 12 Jun 2025 13:25:18 +0000 (15:25 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 16 Jun 2025 15:01:22 +0000 (17:01 +0200)
commit3a2c977c463c68bf6fcd0138d15efa5f3adc743c
tree26a3b03194f81f50600df07529c220aafd6a7402
parent67c3a0b0ad1a78d7ee9c3aadaed22561f7f85466
coredump: validate that path doesn't exceed UNIX_PATH_MAX

so we don't pointlessly accepts things that go over the limit.

Link: https://lore.kernel.org/20250612-work-coredump-massage-v1-4-315c0c34ba94@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/coredump.c