netty5/buffer/src
Norman Maurer 232c669fa4
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:25 +02:00
..
main Guard against overflow when calling CompositeByteBuf.addComponent(...) (#10197) 2020-04-21 12:04:25 +02:00
test/java/io/netty/buffer Guard against overflow when calling CompositeByteBuf.addComponent(...) (#10197) 2020-04-21 12:04:25 +02:00