You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Hartmaier Alexander <Al...@t-systems.at> on 2005/03/11 14:32:39 UTC

just found a severe bug!

Hi Gerald!

 

Here is a code snippet from one of my pages:

<tr>

    <td>Interval</td>

    <td class="light">

    [- html_select_foreign_key ($dbh, 'alert_notification',
'fk_alert_notification_int', ($obj_alert_notification) ?
$obj_alert_notification->alert_notification_int : '') -]

    </td>

  </tr>

 

If the </td> after the function call is missing embperl loops and prints
the output of the function infinite which causes the browser to run into
a timeout, because apache never finishes the request.

 

With kind regards

Alexander Hartmaier

 

T-Systems Austria GesmbH

Rennweg 97-99 1030 Wien

 

phone: +43 57057-4320

fax: +43 57057-95-4320

mobile: +43 676 8642 4320

mail: alexander.hartmaier@t-systems.at

internet: http://www.t-systems.at <http://www.t-systems.at/> 

 

 


*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Hinweis: Dieses E-mail kann vertrauliche und gesch�tzte Informationen enthalten.
Sollten Sie nicht der beabsichtigte Empf�nger sein, verst�ndigen Sie bitte den Absender und l�schen Sie dieses E-mail dann sofort.

Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*

Re: just found a severe bug!

Posted by Derrick Spell <de...@cdmplus.com>.
> If the </td> after the function call is missing embperl loops and 
> prints the output of the function infinite which causes the browser to 
> run into a timeout, because apache never finishes the request.

How is this a severe bug?  If I forget the terminating condition in a 
for loop in C my program will loop infinitely - but I don't blame the 
language.

-Derrick

RE: just found a severe bug!

Posted by Gerald Richter <ri...@ecos.de>.
Hi,

> 
> If the </td> after the function call is missing embperl loops 
> and prints the output of the function infinite which causes 
> the browser to run into a timeout, because apache never 
> finishes the request.
> 

I have tried with your test code, but it work for me without problems, also
when I remove the </td>

Maybe it depend on what you are doing inside your funtion.

Gerald



>  
> 
> With kind regards
> 
> Alexander Hartmaier
> 
>  
> 
> T-Systems Austria GesmbH
> 
> Rennweg 97-99 1030 Wien
> 
>  
> 
> phone: +43 57057-4320
> 
> fax: +43 57057-95-4320
> 
> mobile: +43 676 8642 4320
> 
> mail: alexander.hartmaier@t-systems.at
> 
> internet: http://www.t-systems.at <http://www.t-systems.at/> 
> 
>  
> 
>  
> 
> 
> *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
> *"*"*"*"*"*"*"*
> Hinweis: Dieses E-mail kann vertrauliche und geschützte 
> Informationen enthalten.
> Sollten Sie nicht der beabsichtigte Empfänger sein, 
> verständigen Sie bitte den Absender und löschen Sie dieses 
> E-mail dann sofort.
> 
> Notice: This e-mail contains information that is confidential 
> and may be privileged.
> If you are not the intended recipient, please notify the 
> sender and then delete this e-mail immediately.
> *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
> *"*"*"*"*"*"*"*
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org