Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read input_count/offset #398

Merged
merged 1 commit into from
Feb 13, 2025
Merged

Conversation

bdodge
Copy link
Contributor

@bdodge bdodge commented Feb 13, 2025

The input_count and input_offset where not being read from the ioctl reply leaving them uninitialized. If calloc was used this bug wouldnt have been found, but with -lasan, the memory is colored resulting in input_count if 0xbebebebe which still worked for most cases since most servers seem to ignore it.. but.. we found one that cares apparently, and wireshark doesn't like it either. This fixes that and adds support for the (untestable) legal use of input data in replies for pass-through.

@sahlberg sahlberg merged commit 9920b37 into sahlberg:master Feb 13, 2025
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants