Add validation for message structure and offsets in unpackUserLoginMessage
Opened this issue · 0 comments
coderabbitai commented
In the function unpackUserLoginMessage
, ensure that the offsets and lengths are validated to prevent buffer overflows or invalid reads, especially when dealing with binary data. Consider adding checks for buffer lengths before accessing data.
PR URL: #2037
Comment URL: #2037 (comment)