diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-01-22 15:39:18 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-01-22 16:34:22 +0000 |
| commit | ac680c7cc91ea82316471433537f3101c2af39ea (patch) | |
| tree | f4175d7bec39c64d1083057433dcce58c1720d67 /vendor/github.com/felixge/httpsnoop/README.md | |
| parent | a44b0418acb3ae8fdad9277c2f2aaa6446b97530 (diff) | |
pkg/rpcserver: prevent a nil pointer dereference
If we get a Hanged != "" response from a non-RequestTypeProgram request,
we used to end up trying to serialize an nil *prog.Prog value.
Add a missing if condition.
Diffstat (limited to 'vendor/github.com/felixge/httpsnoop/README.md')
0 files changed, 0 insertions, 0 deletions
