TWiki5.1.1的一个内存耗尽漏洞及修复

TWiki闻名已久,在最近官方官方的版本暴露出一个内存的问题,主要是使用系统命令grep所导致。

修复办法如下(对输入词语做过滤),找到文件./lib/TWiki/Store/SearchAlgorithms/Forking.pm

while( @set ) {
上面添加一行:
$searchString =~ s/\+/\\\+/g;
即可完成修复。

直今天为止,官方版本仍未修复。

Monthly Archives

Pages

Powered by Movable Type 7.7.2

About this Entry

This page contains a single entry by Cnangel published on August 30, 2012 7:58 PM.

libqq for pidgin发布 was the previous entry in this blog.

Linux下的单元测试的覆盖率 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.