diff options
author | David Goulet <dgoulet@torproject.org> | 2019-05-13 10:00:39 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-05-13 10:00:39 -0400 |
commit | def96ce83858b214ebc01797e41e4f0419f9d104 (patch) | |
tree | a8c34e7ae28b33367039ecc5e0550aef358bf3b7 /src/test | |
parent | 2f44786e304ae275501c1e3f74709435ae931def (diff) | |
download | tor-def96ce83858b214ebc01797e41e4f0419f9d104.tar.gz tor-def96ce83858b214ebc01797e41e4f0419f9d104.zip |
sendme: Fix coverity CID 1444999
The code flow in theory can end up with a layer_hint to be NULL but in
practice it should never happen because with an origin circuit, we must have
the layer_hint.
Just in case, BUG() on it if we ever end up in this situation and recover by
closing the circuit.
Fixes #30467.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions