netty5/codec/src
Norman Maurer 34ff9cf5f2 Fix possible overflow when calculate in the size of the out buffer in Base64
Motivation:

We not correctly guarded against overflow and so call Base64.encode(...) with a big buffer may lead to an overflow when calculate the size of the out buffer.

Modifications:

Correctly guard against overflow.

Result:

Fixes [#6620].
2017-04-21 08:11:17 +02:00
..
main/java/io/netty/handler/codec Fix possible overflow when calculate in the size of the out buffer in Base64 2017-04-21 08:11:17 +02:00
test Fix possible overflow when calculate in the size of the out buffer in Base64 2017-04-21 08:11:17 +02:00