Commit 0f111f5
authored
Set the dangling pointer to nullptr in the mocked getaddrinfo resolver (#42466)
Test flakiness in proxy_filter_integration_test.cc. Please check
#42217.
The flakiness can not be reproduced, but is showing up in CI
occasionally. Suspecting the ai->ai_next pointer is garbage which caused
the memory leaking and test failure. Explicitly set it to nullptr.
Signed-off-by: Yanjun Xiang <[email protected]>1 parent a1fcb0d commit 0f111f5
File tree
2 files changed
+2
-0
lines changed- test/extensions/filters
- http/dynamic_forward_proxy
- udp/dns_filter
2 files changed
+2
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
0 commit comments