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

(cherry picked from commit 2dd83b3f0507fc7bc64b908fb88f285a3b9663c8)

Details

Provenance
kjopek_gmail.comAuthored on Aug 8 2022, 4:25 PM
markjCommitted on Aug 9 2022, 1:33 PM
Parents
rG6360ccdea077: unbound: Update version to 1.16.2
Branches
Unknown
Tags
Unknown