Foswiki on GitHub is open for business! Next release meeting: Monday September 15, 1300Z

Item9321: Logging of logout event exposed uninitialized string in Foswiki.pm logger

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine FoswikiLogger  
Item8851 added a logging for authentication logout.

This results in the $user string being uninitialized in the Foswiki.pm logging routines.

Add check for undefined $user, and use empty string if undefined. User logging out is recorded in the actual message.

Doesn't need to be documented.

-- GeorgeClark - 14 Jul 2010

 

ItemTemplate edit

Summary Logging of logout event exposed uninitialized string in Foswiki.pm logger
ReportedBy GeorgeClark
Codebase 1.0.9
SVN Range
AppliesTo Engine
Component FoswikiLogger
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:8179
TargetRelease patch
ReleasedIn 1.0.10
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r7 - 03 Jan 2014, GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License