netty5/buffer/src/main/java/io/netty
Norman Maurer 469c1ca34c Guard against overflow when calling CompositeByteBuf.addComponent(...) (#10197)
Motivation:

We need to ensure we not overflow when adding buffers to a CompositeByteBuf

Modifications:

- Correctly validate overflow before adding to the internal storage
- Add testcase

Result:

Fixes https://github.com/netty/netty/issues/10194
2020-04-21 12:04:47 +02:00
..
buffer Guard against overflow when calling CompositeByteBuf.addComponent(...) (#10197) 2020-04-21 12:04:47 +02:00