Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ignore invalid field length instead of crashing #159
@ViToni as shown previously
Some bad devices does trigger that even if we don't look for them.
The second part was modified after being asked by @kaikreuzer
@Tolriq I am wondering if this might be more a bug in
Could you please create an issue and attach a Wireshark dump of the offending request?
@ViToni I think it is ok to merge this PR - we will still have warnings in the log and if there is a bug in DNSRecord or DNSEntry, this can be fixed in a separate PR, once it can be figured out what it is.
@Tolriq I have added a commit, which fixes the null check in the logging statement.