netty5/buffer/src
Norman Maurer e21591fa25 Don't throw if null is given as ByteBuf when adding components. (#11613)
Motivation:

232c669fa4 did add some overflow protection but did not handle null elements in the array the same as before.

Modifications:

- Break the loop if a null element was found
- Add unit test

Result:

Fixes https://github.com/netty/netty/issues/11612
2021-08-26 08:21:06 +02:00
..
main Don't throw if null is given as ByteBuf when adding components. (#11613) 2021-08-26 08:21:06 +02:00
test/java/io/netty/buffer Don't throw if null is given as ByteBuf when adding components. (#11613) 2021-08-26 08:21:06 +02:00