Skip Menu |

This queue is for tickets about the Crypt-CBCeasy CPAN distribution.

Report information
The Basics
Id: 5020
Status: new
Priority: 0/
Queue: Crypt-CBCeasy

People
Owner: Nobody in particular
Requestors: cpan [...] atrixnet.com
Cc:
AdminCc:

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



Subject: Warnings generated by Crypt::CBCeasy
I've created a CGI program that uses Crypt::CBCeasy and Crypt::Rijndael to encrypt cookies. The CGI program reports errors on every hit like those quoted below: ----------------------------------------------------------- WARNINGS found in /var/www/cgi-bin/smrtg.cgi at Sat Jan 24 09:07:49 2004 when request was made from 209.120.209.52 Unsuccessful stat on filename containing newline at /usr/lib/perl5/site_perl/5.8 .1/Crypt/CBCeasy.pm line 38. Unsuccessful stat on filename containing newline at /usr/lib/perl5/site_perl/5.8 .1/Crypt/CBCeasy.pm line 38. WARNINGS found in /var/www/cgi-bin/smrtg.cgi at Sat Jan 24 09:09:53 2004 when request was made from 209.120.209.52 Unsuccessful stat on filename containing newline at /usr/lib/perl5/site_perl/5.8 .1/Crypt/CBCeasy.pm line 38. Unsuccessful stat on filename containing newline at /usr/lib/perl5/site_perl/5.8 .1/Crypt/CBCeasy.pm line 38. ----------------------------------------------------------- Please email me and I will provide you with the source code for my program if desired. Thank you!
From: Mike Blazer
I believe this could happen if you did not use the usual make make install procedure, but unpacked the distribution on your Windows machine and uploaded to Unix server as 'binary' - i.e. preserving the Windows CRLF style. Please, upload CBCeasy.pm again in ASCII mode. Hope this helps Mike Blazer [guest - Sat Jan 24 10:13:22 2004]: Show quoted text
> I've created a CGI program that uses Crypt::CBCeasy and > Crypt::Rijndael to encrypt cookies. The CGI program reports errors on > every hit like those quoted below: > ----------------------------------------------------------- > WARNINGS found in /var/www/cgi-bin/smrtg.cgi at Sat Jan 24 09:07:49 > 2004 > when request was made from 209.120.209.52 > Unsuccessful stat on filename containing newline at > /usr/lib/perl5/site_perl/5.8 > .1/Crypt/CBCeasy.pm line 38. > Unsuccessful stat on filename containing newline at > /usr/lib/perl5/site_perl/5.8 > .1/Crypt/CBCeasy.pm line 38. > > WARNINGS found in /var/www/cgi-bin/smrtg.cgi at Sat Jan 24 09:09:53 > 2004 > when request was made from 209.120.209.52 > Unsuccessful stat on filename containing newline at > /usr/lib/perl5/site_perl/5.8 > .1/Crypt/CBCeasy.pm line 38. > Unsuccessful stat on filename containing newline at > /usr/lib/perl5/site_perl/5.8 > .1/Crypt/CBCeasy.pm line 38. > ----------------------------------------------------------- > > Please email me and I will provide you with the source code for my > program if desired. Thank you!
From: Mike Blazer
[guest - Sat Jan 24 10:13:22 2004]: Yes, I see the problem, probably Perl 5.8.1 can't stat filename with \n in its name. Older Perl distributions had no problem with that. Unfortunatelly I don't have Perl 5.8.1 handy... I'll try to fix the bug these days. But right now you could surround the if ((UNIVERSAL::isa($from, 'GLOB') || # \*HANDLE UNIVERSAL::isa(\$from,'GLOB') # *HANDLE } elsif... } operator with { $^W=0; } for not to see the warning here. I'll try to fix it soon. Mike Blazer