21 Star 0 Fork 0

src-openEuler / wordnet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
wordnet-3.0-CVE-2008-2149.patch 451 Bytes
一键复制 编辑 原始数据 按行查看 历史
Darssin 提交于 2023-09-20 09:33 . add spec and rpm
--- wordnet-3.0.orig/src/wn.c
+++ wordnet-3.0/src/wn.c
@@ -206,7 +206,8 @@
outsenses += do_search(av[1], optptr->pos, optptr->search,
whichsense, optptr->label);
} else {
- sprintf(tmpbuf, "wn: invalid search option: %s\n", av[j]);
+ /* Fix CVE-2008-2149: buffer overflows Andreas Tille <tille@debian.org> */
+ sprintf(tmpbuf, "wn: invalid search option: %.200s\n", av[j]);
display_message(tmpbuf);
errcount++;
}
1
https://gitee.com/src-openeuler/wordnet.git
git@gitee.com:src-openeuler/wordnet.git
src-openeuler
wordnet
wordnet
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891