mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
Fixing bug with uninitialized counter.
This commit is contained in:
parent
4bf6d6092b
commit
4ed9969f83
1 changed files with 1 additions and 1 deletions
|
@ -21,6 +21,7 @@ void SerializationFormat::StartRead(char* data, uint32 arg_len)
|
|||
input = data;
|
||||
input_len = arg_len;
|
||||
input_pos = 0;
|
||||
bytes_read = 0;
|
||||
}
|
||||
|
||||
void SerializationFormat::EndRead()
|
||||
|
@ -44,7 +45,6 @@ void SerializationFormat::StartWrite()
|
|||
|
||||
output_pos = 0;
|
||||
bytes_written = 0;
|
||||
bytes_read = 0;
|
||||
}
|
||||
|
||||
uint32 SerializationFormat::EndWrite(char** data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue