Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.2k
Commit95d7a75
test: fix dns test case failures after c-ares update to 1.21.0+
c-ares has made intentional changes to the behavior of TXT recordsto comply with RFC 7208, which concatenates multiple strings forthe same TXT record into a single string. Multiple TXT recordsare not concatenated.Also, response handling has changed, such that a response which iscompletely invalid in formatting is thrown away as a maliciousforged/spoofed packet rather than returning EBADRESP. This is onestep toward RFC 9018 (EDNS COOKIES) which will require the messageto at least be structurally valid to validate against spoofedrecords.Fix By: Brad House (@bradh352)PR-URL:#50743Reviewed-By: Luigi Pinca <luigipinca@gmail.com>Reviewed-By: James M Snell <jasnell@gmail.com>Fixes:#50741Refs:#504441 parentcd613e5 commit95d7a75
File tree
2 files changed
+4
-3
lines changed- test/parallel
2 files changed
+4
-3
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
| 34 | + | |
34 | 35 |
| |
35 | 36 |
| |
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
39 |
| - | |
| 40 | + | |
40 | 41 |
| |
41 | 42 |
| |
42 | 43 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
|
0 commit comments
Comments
(0)