Commit 32962b2
committed
internet-apps: Fully reset V4TraceRoute output streams on final hop
The final-hop branch in Receive() reset the m_osRoute / m_routeIpv4 string streams with clear() only, which resets the state flags but does not empty the buffer, so stale route text could leak into a subsequent hop's output.
Pair str("") with clear(), as every other reset site in the file does.1 parent 6b7601d commit 32962b2
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| 336 | + | |
336 | 337 | | |
| 338 | + | |
337 | 339 | | |
338 | 340 | | |
339 | 341 | | |
| |||
0 commit comments