[fix](be-ut) AddressSanitizer detects container-overflow issues (#14255)
* [chore] Fix the container-overflow errors detected by address sanitizer * Fix compilation errors
This commit is contained in:
@ -259,7 +259,7 @@ bool ForDecoder<T>::init() {
|
||||
}
|
||||
}
|
||||
|
||||
_out_buffer.reserve(_max_frame_size);
|
||||
_out_buffer.resize(_max_frame_size);
|
||||
_parsed = true;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user