netty5/codec-redis/src/main/java/io/netty/handler/codec/redis
Scott Mitchell 742ee76424 RedisDecoder infinite loop
Motivation:
RedisDecoder can get into an infinite loop while decoding bulk strings if the final \r and \n to indicate the end of content are split on ByteBuf boundaries.

Modifications:
- We should break out of the decode loop if remainingBulkLength is 0 and we don't have enough data to read EOL

Result:
No more infinite loop in RedisDecoder#decodeBulkStringContent.
2017-05-30 08:53:36 -07:00
..
AbstractStringRedisMessage.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
ArrayHeaderRedisMessage.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
ArrayRedisMessage.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
BulkStringHeaderRedisMessage.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
BulkStringRedisContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
DefaultBulkStringRedisContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
DefaultLastBulkStringRedisContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
ErrorRedisMessage.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
FixedRedisMessagePool.java Adding 'final' keyword for private fields where possible 2017-02-14 08:29:15 +01:00
FullBulkStringRedisMessage.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
IntegerRedisMessage.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
LastBulkStringRedisContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
package-info.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
RedisArrayAggregator.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
RedisBulkStringAggregator.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
RedisCodecException.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
RedisCodecUtil.java Implement codec-redis 2016-04-14 10:23:16 +02:00
RedisConstants.java Implement codec-redis 2016-04-14 10:23:16 +02:00
RedisDecoder.java RedisDecoder infinite loop 2017-05-30 08:53:36 -07:00
RedisEncoder.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
RedisMessage.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
RedisMessagePool.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
RedisMessageType.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00
SimpleStringRedisMessage.java [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00