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

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

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

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

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

Leave a comment

Archives

Pages

Powered by Movable Type 6.2.4

March 2016

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Recent Assets

  • 2016-03-10 15-46-43 的屏幕截图.png
  • 2015-11-06 13-19-15 的屏幕截图.png
  • linux_observability_sar.png
  • linux_tuning_tools.png
  • linux_benchmarking_tools.png
  • linux_observability_tools.png
  • 124634H32-4.jpg
  • 1246343U8-3.jpg
  • L2TP.jpg
  • Site-to-site-pptp-example.jpg
Creative Commons License
This blog is licensed under a Creative Commons License.

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.