1 Star 0 Fork 40

programmer12/haproxy

forked from src-openEuler/haproxy 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CVE-2021-39241-pre.patch 744 Bytes
一键复制 编辑 原始数据 按行查看 历史
programmer12 提交于 2021-08-27 14:38 +08:00 . fix CVES
From 038af20a857ab1f656d5f949c2c5e00d55005c73 Mon Sep 17 00:00:00 2001
From: Amaury Denoyelle <adenoyelle@haproxy.com>
Date: Fri, 11 Dec 2020 17:53:09 +0100
Subject: [PATCH 1/1] MEDIUM:h2: parse Extended CONNECT request to htx
---
src/h2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/h2.c b/src/h2.c
index 656fed4..3f739e7 100644
--- a/src/h2.c
+++ b/src/h2.c
@@ -173,7 +173,7 @@ int h2_parse_cont_len_header(unsigned int *msgf, struct ist *value, unsigned lon
*/
static struct htx_sl *h2_prepare_htx_reqline(uint32_t fields, struct ist *phdr, struct htx *htx, unsigned int *msgf)
{
- struct ist uri;
+ struct ist uri,meth_sl;
unsigned int flags = HTX_SL_F_NONE;
struct htx_sl *sl;
size_t i;
--
2.23.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/programmer12/haproxy.git
git@gitee.com:programmer12/haproxy.git
programmer12
haproxy
haproxy
master

搜索帮助