Files
Hui Peng 241d469012 9p: reject RERROR/RLERROR with zero errcode
In p9_check_errors() (net/9p/client.c), a malicious or buggy 9p server
returning P9_RERROR or P9_RLERROR with ecode == 0 causes
p9_check_errors() to return 0 (success) while leaving the unparsed
response payload as if the expected reply message type succeeded.

Map ecode == 0 on RERROR / RLERROR to -EPROTO.

Link: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Hui Peng <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Dominique Martinet <[email protected]>
2026-10-29 06:05:55 +00:00
..
2025-03-23 06:20:48 +09:00
2026-09-22 08:07:34 +00:00
2025-11-03 16:49:53 +09:00
2022-10-05 07:05:41 +09:00
2021-11-03 17:45:04 +09:00
2026-09-22 08:07:34 +00:00