Files
linux/fs/afs
Zhen Ni 9158c6bb24 afs: Fix potential null pointer dereference in afs_put_server
afs_put_server() accessed server->debug_id before the NULL check, which
could lead to a null pointer dereference. Move the debug_id assignment,
ensuring we never dereference a NULL server pointer.

Fixes: 2757a4dc18 ("afs: Fix access after dec in put functions")
Cc: [email protected]
Signed-off-by: Zhen Ni <[email protected]>
Acked-by: David Howells <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
2025-09-25 09:18:17 +02:00
..
…
…
2025-01-07 15:55:25 +01:00
2025-01-07 15:55:25 +01:00
2025-03-10 09:47:15 +00:00
2025-06-10 22:21:16 -04:00
2025-03-10 09:47:15 +00:00