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

llmnr-query prints garbage characters #22

Closed
tbetker opened this issue Feb 27, 2017 · 1 comment
Closed

llmnr-query prints garbage characters #22

tbetker opened this issue Feb 27, 2017 · 1 comment

Comments

@tbetker
Copy link

tbetker commented Feb 27, 2017

log_info("LLMNR response: %s IN %s %s (TTL %d)\n", name, ...) prints some uninitialized data because name is not NUL-terminated. See the attached patch for a possible fix.

llmnr-query-fix-missing-nul.patch.txt

@tklauser
Copy link
Owner

Thanks a lot for catching this. Patch now applied in commit 29deb4c.

tklauser added a commit that referenced this issue Feb 28, 2017
Acknowledge @tbetker for issues #22 and #23 and the patches provided
therein.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
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

No branches or pull requests

2 participants