mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix Coverity warning involving object copy in TLS binpac code
This commit is contained in:
parent
3f3df93ac1
commit
496d2bc5e3
1 changed files with 1 additions and 1 deletions
|
@ -676,7 +676,7 @@ refine connection Handshake_Conn += {
|
|||
return true;
|
||||
|
||||
auto cid_string = zeek::make_intrusive<zeek::StringVal>(cid.length(), (const char*) cid.data());
|
||||
zeek::BifEvent::enqueue_ssl_extension_connection_id(zeek_analyzer(), zeek_analyzer()->Conn(), ${rec.is_orig} ^ flipped_, cid_string);
|
||||
zeek::BifEvent::enqueue_ssl_extension_connection_id(zeek_analyzer(), zeek_analyzer()->Conn(), ${rec.is_orig} ^ flipped_, std::move(cid_string));
|
||||
|
||||
return true;
|
||||
%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue