1 Star 0 Fork 10

lvgenggeng/deltarpm

forked from src-openEuler/deltarpm 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-fix-CVE-2005-1849.patch 801 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhoushuiqing 提交于 2022-09-20 16:13 . fix zlib cves
From 24a4a6969dd304e3496746732461abfbd2262cf4 Mon Sep 17 00:00:00 2001
From: Mark Adler <fork@madler.net>
Date: Tue, 30 Aug 2022 18:39:10 +0800
Subject: [PATCH] test
Conflict:NA
Reference:https://sources.debian.org/src/zlib/1%3A1.2.2-4.sarge.2/debian/patches/021-enough/
---
inftrees.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/inftrees.h b/inftrees.h
index 82d365a..5cdcf8f 100644
--- a/inftrees.h
+++ b/inftrees.h
@@ -40,8 +40,8 @@ typedef struct {
and 154 for distances, the latter actually the result of an
exhaustive search). The true maximum is not known, but the value
below is more than safe. */
-#define ENOUGH 1440
-#define MAXD 154
+#define ENOUGH 2048
+#define MAXD 592
/* Type of code to build for inftable() */
typedef enum {
--
2.27.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lvgenggeng/deltarpm.git
git@gitee.com:lvgenggeng/deltarpm.git
lvgenggeng
deltarpm
deltarpm
master

搜索帮助