Skip Menu |

This queue is for tickets about the CGI-Session CPAN distribution.

Report information
The Basics
Id: 16033
Status: resolved
Priority: 0/
Queue: CGI-Session

People
Owner: Nobody in particular
Requestors: makoto [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: CGI::Session::File problem
method:retrieve should "flock(FH, LOCK_SH)".
Date: Tue, 22 Nov 2005 11:50:08 -0500
From: Mark Stosberg <mark [...] summersault.com>
To: Guest via RT <bug-CGI-Session [...] rt.cpan.org>
Subject: Re: [cpan #16033] CGI::Session::File problem
RT-Send-Cc:
On Tue, Nov 22, 2005 at 09:19:37AM -0500, Guest via RT wrote: Show quoted text
> > This message about CGI-Session was sent to you by guest <> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=16033 > > > method:retrieve should "flock(FH, LOCK_SH)".
Thanks for the report. What fails without this change? Mark
From: makoto [...] cpan.org
[mark@summersault.com - Tue Nov 22 11:51:36 2005]: Show quoted text
> On Tue, Nov 22, 2005 at 09:19:37AM -0500, Guest via RT wrote:
> > > > This message about CGI-Session was sent to you by guest <> via
> rt.cpan.org
> > > > Full context and any attached attachments can be found at: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=16033 > > > > > method:retrieve should "flock(FH, LOCK_SH)".
> > Thanks for the report. > > What fails without this change? > > Mark
If LOCK_SH is not used, a file may be damaged by concurrent access. I am sorry to be poor at English... See the manual of FLOCK for details.
From: mleblanc [...] cpan.org
[guest - Thu Nov 24 06:01:49 2005]: Show quoted text
> [mark@summersault.com - Tue Nov 22 11:51:36 2005]: >
> > On Tue, Nov 22, 2005 at 09:19:37AM -0500, Guest via RT wrote:
> > > > > > This message about CGI-Session was sent to you by guest <> via
> > rt.cpan.org
> > > > > > Full context and any attached attachments can be found at: > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=16033 > > > > > > > method:retrieve should "flock(FH, LOCK_SH)".
> > > > Thanks for the report. > > > > What fails without this change? > > > > Mark
> > If LOCK_SH is not used, a file may be damaged by concurrent access. > > I am sorry to be poor at English... > See the manual of FLOCK for details.
Fix has been applied to svn and will be available in next release.