mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
binpac: Fixing Coverity warning.
This commit is contained in:
parent
dc49b0343f
commit
d73e3485c1
1 changed files with 20 additions and 17 deletions
|
@ -284,6 +284,9 @@ CR_OR_LF_1:
|
|||
|
||||
void FlowBuffer::MarkOrCopyLine_CR_OR_LF()
|
||||
{
|
||||
if ( ! (orig_data_begin_ && orig_data_end_) )
|
||||
return;
|
||||
|
||||
if ( state_ == CR_OR_LF_1 &&
|
||||
orig_data_begin_ < orig_data_end_ && *orig_data_begin_ == LF )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue