You are here: Foswiki>Tasks Web>Item720 (13 Mar 2009, CrawfordCurrie)Edit Attach

Item720: Insecure dependency in unlink while running with -T switch

pencil
Priority: Low
Current State: No Action Required
Released In:
Target Release:
Applies To: Engine
Component: RcsFile
Branches:
Reported By: StefanPalm
Waiting For:
Last Change By: CrawfordCurrie
Yet another mod_perl-issue. When renaming a web I get the following error message:

| 10 Jan 2009 - 07:55 | Insecure dependency in unlink while running with -T switch at /apps/wiki/data/foswiki-1.0.0/lib/Foswiki/Store/RcsFile.pm line 715.
 at /apps/wiki/data/foswiki-1.0.0/lib/Foswiki/Store/RcsFile.pm line 715
        Foswiki::Store::RcsFile::setLease('Foswiki::Store::RcsWrap=HASH(0x11a9130)', undef) called at /apps/wiki/data/foswiki-1.0.0/lib/Foswiki/Store.pm line 2119
        Foswiki::Store::clearLease('Foswiki::Store=HASH(0x11acbd0)', 'Admin', 'ActivityLog200901') called at /apps/wiki/data/wiki-prd/lib/Foswiki/UI/Manage.pm line 879
        Foswiki::UI::Manage::_renameweb('Foswiki=HASH(0xc65830)') called at /apps/wiki/data/wiki-prd/lib/Foswiki/UI/Manage.pm line 245
        Foswiki::UI::Manage::rename('Foswiki=HASH(0xc65830)') called at /apps/wiki/data/foswiki-1.0.0/lib/Foswiki/UI.pm line 178
        Foswiki::UI::__ANON__() called at /apps/wiki/data/wiki-prd/lib/CPAN/lib//Error.pm line 379
        eval {...} called at /apps/wiki/data/wiki-prd/lib/CPAN/lib//Error.pm line 371
        Error::subs::try('CODE(0xbcd540)', 'HASH(0x10119b8)') called at /apps/wiki/data/foswiki-1.0.0/lib/Foswiki/UI.pm line 246
        Foswiki::UI::execute('Foswiki::Request=HASH(0x11ac9e0)', 'CODE(0xe4d2e8)', 'rename', 1) called at /apps/wiki/data/foswiki-1.0.0/lib/Foswiki/UI.pm line 120
        Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x11ac9e0)') called at /apps/wiki/data/foswiki-1.0.0/lib/Foswiki/Engine/CGI.pm line 26
        Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x5107a8)') called at /apps/wiki/data/wiki-prd/bin/rename line 45
        ModPerl::ROOT::ModPerl::RegistryPrefork::apps_wiki_data_wiki_2dprd_bin_rename::handler('Apache2::RequestRec=SCALAR(0x1006518)') called at /SWM/tools/lib/perl5/site_perl/5.10.0/sun4-solaris-thread-multi/
ModPerl/RegistryCooker.pm line 204
        eval {...} called at /SWM/tools/lib/perl5/site_perl/5.10.0/sun4-solaris-thread-multi/ModPerl/RegistryCooker.pm line 204
        ModPerl::RegistryCooker::run('ModPerl::RegistryPrefork=HASH(0x63bb10)') called at /SWM/tools/lib/perl5/site_perl/5.10.0/sun4-solaris-thread-multi/ModPerl/RegistryCooker.pm line 170
        ModPerl::RegistryCooker::default_handler('ModPerl::RegistryPrefork=HASH(0x63bb10)') called at /SWM/tools/lib/perl5/site_perl/5.10.0/sun4-solaris-thread-multi/ModPerl/RegistryPrefork.pm line 19
        ModPerl::RegistryPrefork::handler('ModPerl::RegistryPrefork', 'Apache2::RequestRec=SCALAR(0x1006518)') called at -e line 0
        eval {...} called

As the action is takes place (web is renamed) I consider the error message just an annoyance and set the priority to "low".

Env: Solaris10(sparc)/Apache2.2.11/mod_perl2.0.4/Perl5.10.0
I think this is a repeat of the same problem I fixed in Item1276. in fact, I'm sure of it. No further action required.

-- CrawfordCurrie - 13 Mar 2009

ItemTemplate edit

Summary Insecure dependency in unlink while running with -T switch
ReportedBy StefanPalm
Codebase 1.0.0
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component RcsFile
Priority Low
CurrentState No Action Required
WaitingFor
Checkins
ReleasedIn
Topic revision: r2 - 13 Mar 2009, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy