Loading...
 
Skip to main content

get_plugin_description infinite loop w/ patch

Status
Closed
Subject
get_plugin_description infinite loop w/ patch
Version
2.x
Category
  • Error
  • Patch
Feature
Wiki (page view, edit, history, rename, etc)
Submitted by
dgas
Lastmod by
sylvie greverend
Rating
(0)
Description

Having a wiki plugin that is not readable by apache in the plugin directory causes an infinite loop when the user attempts to edit a page, because edit page tries to load a list of plugins and descriptions in the help.

tiki-editpage.php calls wikilib.list_plugins(), calls get_plugin_description(), which doesn't check open status after fopen().

Files
  1. Wikilib.php
Solution

Patch for v2.2 release attached.


-

Thanks fixed in 2.3

Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2178
Created
Tuesday 25 November, 2008 22:07:22 UTC
by Unknown
LastModif
Saturday 06 July, 2024 10:21:44 UTC


Show PHP error messages