bhuvan-somisetty commented on PR #13953: URL: https://github.com/apache/apisix/pull/13953#issuecomment-5712785838
Good catch, thanks. Pushed a fix — bounds-checked the protocol name length and client id length reads (both did unchecked `str_byte(...) * 256`), and added a check after the properties skip so a valid-but-oversized properties length can't push parsed_pos past the buffer either. Added a test with your exact repro packet, now returns 503 as expected. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
