>      FastCGI: server "/var/www/cgi-bin/embperl.pl" stderr:
>      Usage: FCGI::Stream::READ(stream, bufsv, len, ...) at
>      /usr/lib/perl5/HTML/Embperl.pm line 727.
>

Could you please try the following patch and let me know if it changes
anything?

Index: epio.c
================================================================
RCS file: /home/cvs/embperl/epio.c,v
retrieving revision 1.23
diff -u -r1.23 epio.c
--- epio.c      17 Oct 2001 05:44:47 -0000      1.23
+++ epio.c      19 May 2004 14:29:15 -0000
@@ -459,6 +459,7 @@
        PUSHMARK(sp);
        XPUSHs(r -> ifdobj);
        XPUSHs(sv_2mortal(pBufSV = NEWSV(0, 0)));
+        XPUSHs(sv_2mortal(newSViv(size))) ;
        PUTBACK;
        num = perl_call_method ("READ", G_SCALAR) ;
        SPAGAIN;


Gerald



> (I renamed the embpfastcgi.pl script to embperl.pl.)
>
> Versions:
>      Perl 5.8.3
>      Embperl 1.3.6
>      mod_fastcgi 2.2.10
>      libfcgi-perl 0.67
>
> There is a tentative reference to this problem in the list archive,
> but no fix. Does anyone have any ideas what might be going on?
>
> To expand on the question, do you still consider Apache + FastCGI +
> Embperl a reasonable setup? Would anyone consider there to be security
> issues with the combination (giving that I'm running setuid scripts)?
>
> Besides the problem above, Embperl runs really well. The advanced
> <table> processing really makes it fun to work with.
>
> Thanks,

---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der KOMCOM 2004 in Mannheim
25. bis 27. Mai 2004  Stand K11a   www.komcom.de

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to