Commit cabca4b
quic: guard against null impl_ in UpdateDataStats
When a QUIC session's handshake fails or the connection is
terminated early, UpdateDataStats() can be called before impl_
has been initialized, leading to a null pointer dereference
and SIGSEGV.
Add an early return when impl_ is nullptr to prevent the crash.
Fixes: #62057
Co-Authored-By: Claude <noreply@anthropic.com>1 parent a06e789 commit cabca4b
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2232 | 2232 | | |
2233 | 2233 | | |
2234 | 2234 | | |
| 2235 | + | |
2235 | 2236 | | |
2236 | 2237 | | |
2237 | 2238 | | |
| |||
0 commit comments