Commit cac1771
committed
Merge 'Fix incorrect union access in dns resolver' from Pavel Emelyanov
The resolver maintains a map of sock_entry's each containing union of tcp_entry and udp_entry and its type. There's (at least) one place that accesses the union without checking if it contains the expected object.
Closes #3111
* github.com:scylladb/seastar:
dns: Squash two if blocks together
dns: Do not check tcp entry for udp type1 file changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1350 | 1350 | | |
1351 | 1351 | | |
1352 | 1352 | | |
1353 | | - | |
1354 | | - | |
1355 | | - | |
1356 | | - | |
1357 | | - | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
1358 | 1359 | | |
1359 | | - | |
1360 | | - | |
1361 | | - | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
1362 | 1364 | | |
1363 | 1365 | | |
1364 | 1366 | | |
| |||
0 commit comments