Skip to content

Commit

Permalink
fix(core): incorrect buffer allocation for data message callback
Browse files Browse the repository at this point in the history
  • Loading branch information
GwnDaan committed Jan 15, 2024
1 parent 603c736 commit be1cb56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isobus/src/can_message_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ namespace isobus
totalSize(size),
callback(callback),
parentPointer(parentPointer),
buffer(chunkSize),
bufferSize(chunkSize)
{
buffer.reserve(bufferSize);
}

std::size_t CANMessageDataCallback::size() const
Expand Down

0 comments on commit be1cb56

Please sign in to comment.