Details
Description
This improves validation in the PROXY protocol v2 parsing path.
The previous implementation assumed vio_read() would return the full
requested number of bytes, but short reads are possible and could leave
parts of the header buffer only partially initialized while parsing
continued.
Attachments
Issue Links
- duplicates
-
MDEV-39576 PROXY v2 protocol uninitialized memory reads
-
- Closed
-