The use of read() to read RFB client version before this change is inappropriate as it is not guaranteed to have exactly 12 bytes in the receive buffer.
Details
Details
- Reviewers
grehan jhb - Group Reviewers
bhyve - Commits
- rS358394: Use stream_read() to read all 12 bytes of the RFB client version.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable