Skip to content

v6.2.7

Choose a tag to compare

@NathanFreeman NathanFreeman released this 26 Nov 12:43
6ce2d1e
  • Fix: dispatch frames only after the handshake response is sent

  • Fix: double free and UAF when the callback closes the connection in SWOOLE_BASE mode

  • Fix: limit the inflated message size to package_max_length

  • Fix: memory leak in http2 Server

  • Fix: send the correct PING payloads and reject PINGs of the wrong length

  • Test: do not require a connection close for invalid PING frames on 6.2

  • Fix: reject coroutine server requests whose header block holds no request head

  • Fix: release multipart parser state on duplicate headers and unterminated parts

  • Fix: bound bulk string lengths in the server request parser

  • Fix: release request zvals on early returns in the Redis server

  • Fix: reparse fragmented requests from a clean state

  • Fix: pass the buffer end to Redis::get_number in the Redis server parser

  • Fix: bound-check and parse RESP numbers in get_number

  • Fix: receive fragmented packets with a custom package_length_func

  • Fix: guard against close() inside package_length_func during recv

  • Fix: honor ssl peer_fingerprint in hooked TLS streams

  • Fix: honor stream error suppression in hooked socket writes

  • Fix: preserve caller frames for Fiber observers

  • Fix: avoid signed overflow in default_length_func

  • 修复仅在握手响应发送后再派发帧

  • 修复SWOOLE_BASE 模式下回调关闭连接时出现的双重释放与 UAF

  • 修复将解压后的消息大小限制为 package_max_length

  • 修复http2 Server内存泄漏的问题。

  • 修复发送正确的 PING 载荷,并拒绝长度错误的 PING

  • 测试在 6.2 上不要求无效 PING 帧必须关闭连接

  • 修复拒绝协程服务器中头部块不含请求头的请求

  • 修复重复头部及未终止 part 时释放 multipart 解析器状态

  • 修复在服务端请求解析器中限制 bulk string 长度

  • 修复Redis 服务端中提前返回时释放请求 zval

  • 修复从干净状态重新解析分片请求

  • 修复将缓冲区末尾传给 Redis 服务端解析器中的 Redis::get_number

  • 修复在 get_number 中对 RESP 数字做边界检查并解析

  • 修复使用自定义 package_length_func 接收分片包

  • 修复在 recv 期间防止 package_length_func 内调用 close()

  • 修复在 hooked TLS 流中遵循 ssl peer_fingerprint

  • 修复在 hooked socket 写入中遵循流错误抑制

  • 修复为 Fiber 观察者保留调用者帧

  • 修复避免 default_length_func 中的有符号溢出