• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7413: Syntax error produces uninitialized variable crash

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TWistyPlugin Normal New   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


A syntax error produces uninitialized variable crash in TwistyPlugin


Create a test topic in raw mode (I used http://develop.twiki.org/~twiki4/cgi-bin/edit/Sandbox/TestTopicAUTOINC000?t=092520&nowysiwyg=1), running Wiki-6.0.1-trunk, Thu, 09 Jan 2014, build 26720.

Replace the contents of the edit window with this:

%TWISTY{mode="div" showlink="code" hidelink="Hide code" showimgleft="%ICONURLPATH{toggleopen-small}%"

Click 'Preview':


Use of uninitialized value in concatenation (.) or string at /home/twiki4/twikisvn/core/lib/TWiki/Plugins/TwistyPlugin.pm line 434.

A syntax error (unclosed TWISTY followed by ENDTWISTY) should not cause a crash.

-- TWiki:Main/TimotheLitt - 2014-01-18

Summary Syntax error produces uninitialized variable crash
ReportedBy TWiki:Main.TimotheLitt
Codebase 6.0.0
SVN Range TWiki-6.0.1-trunk, Thu, 09 Jan 2014, build 26720
AppliesTo Extension
Component TWistyPlugin
Priority Normal
CurrentState New


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2014-01-18 - TimotheLitt
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback