cyclonedds/src
Erik Boasson 73ec5beef4 gracefully handle a too small ReceiveBufferSize
Sizing/ReceiveBufferSize must be >= Sizing/ReceiveBufferChunkSize + N
for some small N, and if it is not, Cyclone will crash reading beyond
allocated memory in a nasty way. Ordinarily this should be handled by
the configuration validation, but that would put the burden of knowing
the details of computing N upon the user, an unreasonable requirement.

The old state of an assertion presupposes a check, and brings us back
that same requirement.

Thus, a change to ensure that ReceiveBufferSize will be taken as the
minimum of the configured value and the actual minimal value as
determined by ChunkSize and whatever N happens to be.

Signed-off-by: Erik Boasson <eb@ilities.com>
2019-05-23 18:51:23 +02:00
..
cmake Rearrange and fixup abstraction layer 2019-03-22 15:19:09 +01:00
core gracefully handle a too small ReceiveBufferSize 2019-05-23 18:51:23 +02:00
ddsrt support for building/running on OpenIndiana 2019-03-23 15:40:29 +01:00
docs Rearrange and fixup abstraction layer 2019-03-22 15:19:09 +01:00
etc Let dds_create_participant determine domain id if config specifies "any" (new default) 2018-10-14 14:02:47 +08:00
examples using explicit fflush instead of setvbuf (#133) 2019-03-23 15:40:29 +01:00
idlc Rearrange and fixup abstraction layer 2019-03-22 15:19:09 +01:00
scripts Initial contribution 2018-04-10 17:03:59 +02:00
tools using explicit fflush instead of setvbuf (#133) 2019-03-23 15:40:29 +01:00
util make it possible to retrieve buffer position after parsing XML 2019-03-23 15:40:29 +01:00
CMakeLists.txt support for building/running on OpenIndiana 2019-03-23 15:40:29 +01:00