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

Large DNS responses cause host to segfault #56

Closed
sargun opened this issue Nov 23, 2016 · 0 comments
Closed

Large DNS responses cause host to segfault #56

sargun opened this issue Nov 23, 2016 · 0 comments

Comments

@sargun
Copy link

sargun commented Nov 23, 2016

sargun@sargun-dev:~/toybox$ generated/unstripped/toybox host value.testing.express
value.testing.express has address 3.1.1.10
value.testing.express has address 1.1.1.9
value.testing.express has address 3.1.1.5
value.testing.express has address 3.1.1.9
value.testing.express has address 1.1.1.8
value.testing.express has address 3.1.1.3
value.testing.express has address 1.1.1.12
value.testing.express has address 1.1.1.2
value.testing.express has address 2.1.1.12
value.testing.express has address 1.1.1.7
value.testing.express has address 1.1.1.3
value.testing.express has address 1.1.1.10
value.testing.express has address 2.1.1.1
value.testing.express has address 3.1.1.1
value.testing.express has address 2.1.1.11
value.testing.express has address 1.1.1.6
value.testing.express has address 2.1.1.2
value.testing.express has address 2.1.1.3
value.testing.express has address 2.1.1.4
value.testing.express has address 2.1.1.5
value.testing.express has address 1.1.1.11
value.testing.express has address 3.1.1.4
value.testing.express has address 2.1.1.8
value.testing.express has address 2.1.1.9
value.testing.express has address 2.1.1.10
value.testing.express has address 3.1.1.8
value.testing.express has address 3.1.1.11
value.testing.express has address 3.1.1.12
value.testing.express has address 3.1.1.2
value.testing.express has address 46.49.46.50
Segmentation fault (core dumped)

vs.

sargun@sargun-dev:~/toybox$ dig value.testing.express

; <<>> DiG 9.10.3-P4-Ubuntu <<>> value.testing.express
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42125
;; flags: qr rd ra; QUERY: 1, ANSWER: 36, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;value.testing.express.		IN	A

;; ANSWER SECTION:
value.testing.express.	299	IN	A	2.1.1.11
value.testing.express.	299	IN	A	1.1.1.4
value.testing.express.	299	IN	A	3.1.1.12
value.testing.express.	299	IN	A	2.1.1.8
value.testing.express.	299	IN	A	1.1.1.2
value.testing.express.	299	IN	A	2.1.1.10
value.testing.express.	299	IN	A	1.1.1.8
value.testing.express.	299	IN	A	1.1.1.6
value.testing.express.	299	IN	A	3.1.1.8
value.testing.express.	299	IN	A	3.1.1.7
value.testing.express.	299	IN	A	1.1.1.10
value.testing.express.	299	IN	A	1.1.1.9
value.testing.express.	299	IN	A	2.1.1.1
value.testing.express.	299	IN	A	1.1.1.5
value.testing.express.	299	IN	A	3.1.1.11
value.testing.express.	299	IN	A	2.1.1.12
value.testing.express.	299	IN	A	2.1.1.7
value.testing.express.	299	IN	A	1.1.1.7
value.testing.express.	299	IN	A	2.1.1.4
value.testing.express.	299	IN	A	3.1.1.4
value.testing.express.	299	IN	A	2.1.1.6
value.testing.express.	299	IN	A	2.1.1.2
value.testing.express.	299	IN	A	3.1.1.10
value.testing.express.	299	IN	A	3.1.1.1
value.testing.express.	299	IN	A	2.1.1.9
value.testing.express.	299	IN	A	1.1.1.12
value.testing.express.	299	IN	A	3.1.1.9
value.testing.express.	299	IN	A	1.1.1.11
value.testing.express.	299	IN	A	3.1.1.3
value.testing.express.	299	IN	A	3.1.1.2
value.testing.express.	299	IN	A	2.1.1.5
value.testing.express.	299	IN	A	3.1.1.5
value.testing.express.	299	IN	A	3.1.1.6
value.testing.express.	299	IN	A	2.1.1.3
value.testing.express.	299	IN	A	1.1.1.3
value.testing.express.	299	IN	A	1.1.1.1

;; Query time: 33 msec
;; SERVER: 169.254.169.254#53(169.254.169.254)
;; WHEN: Wed Nov 23 18:22:04 UTC 2016
;; MSG SIZE  rcvd: 626
@landley landley closed this as completed in 4247dca Sep 7, 2019
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

1 participant