If you didn't find answer in existing open/closed issues you may ask here
In static mbf setup, in case that there is no more buffers assert is called:
|
erpc_assert(idx < ERPC_DEFAULT_BUFFERS_COUNT); |
In dynamic, if allocation failed then the NULL pointer will be set as buffer:
|
return MessageBuffer(buf, ERPC_DEFAULT_BUFFER_SIZE); |
I would expect in both cases to return error. Why is current implementation as is? (or it is a bug?)
Steps you didn't forgot to do