HomeFreeBSD

lib9p: Remove potential buffer overwrite in l9p_puqids()

Description

lib9p: Remove potential buffer overwrite in l9p_puqids()

Structure l9p_f_wralk reserves at most L9P_MAX_WELEM entries
and that number actually set the maximum we can safely use.

PR: 265385
Reviewed by: markj
MFC after: 1 day
Differential Revision: https://reviews.freebsd.org/D35907

Details

Provenance
kjopek_gmail.comAuthored on Aug 8 2022, 4:25 PM
markjCommitted on Aug 8 2022, 4:50 PM
Reviewer
markj
Differential Revision
Restricted Differential Revision
Parents
rG1b0a4974c500: thread_create(): call cpu_copy_thread() after td_pflags is zeroed
Branches
Unknown
Tags
Unknown