mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
logging/Manager: Fix token_val->AsCount() in debug logging
Second UBSAN error triggered from log delay merge.
This commit is contained in:
parent
acf4ed9c6c
commit
3c99b7ae9c
1 changed files with 2 additions and 2 deletions
|
@ -1233,8 +1233,8 @@ ValPtr Manager::Delay(const EnumValPtr& id, const RecordValPtr record, FuncPtr p
|
|||
assert(stream->GetDelayInfo(active_write_ctx) != detail::DelayInfo::nil);
|
||||
}
|
||||
|
||||
DBG_LOG(DBG_LOGGING, "Delayed log record %p RefCnt=%d token=%ld post_delay_cb=%p", record.get(), record->RefCnt(),
|
||||
token_val->AsCount(), post_delay_cb.get());
|
||||
DBG_LOG(DBG_LOGGING, "Delayed log record %p RefCnt=%d post_delay_cb=%p", record.get(), record->RefCnt(),
|
||||
post_delay_cb.get());
|
||||
|
||||
return token_val;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue