vSomeip Version
82adfa0
Boost Version
1.86
Environment
Windows 11 + Visual Studio 2022
Describe the bug
I just run the client and service examplea as https://github.com/COVESA/vsomeip/wiki/vsomeip-in-10-minutes, and it crashed.
I found that this code will cause crash as the index _buffer.size() will overflow.
|
name_.assign(&_buffer[COMMAND_POSITION_PAYLOAD], &_buffer[_buffer.size()]); |
Reproduction Steps
No response
Expected behaviour
No response
Logs and Screenshots
No response
vSomeip Version
82adfa0
Boost Version
1.86
Environment
Windows 11 + Visual Studio 2022
Describe the bug
I just run the client and service examplea as https://github.com/COVESA/vsomeip/wiki/vsomeip-in-10-minutes, and it crashed.
I found that this code will cause crash as the index
_buffer.size()will overflow.vsomeip/implementation/protocol/src/assign_client_command.cpp
Line 56 in 41c3900
Reproduction Steps
No response
Expected behaviour
No response
Logs and Screenshots
No response