I just had a very strange problem. I tried some code like this in a Script
(Python). The (obvious) error in the code is the html += instead of just
html =.
These few lines brought the Zope server (and the Browser I used for testing)
to a halt:

html = ''
    html += '|'.join([html, letter])
return html

After a very long time I got a Memory Error. I am not really sure whether
this qualifies as a bug, and whether it is a Zope bug or a Python bug (the
same happens when using the same code from filesystem-based Python). But I'd
guess that code fragments in Scripts (Python) should be save enough to not
blow the server. Other memory-intensive potentially malicious code like
infinite recursions are handled well after all.

Any comments?


Joachim Werner

iuveno AG
Wittelsbacherstraße 23b
90475 Nürnberg

Tel. +49 (0) 911 / 988398-4
Fax +49 (0) 911 / 988398-5

WWW: http://www.iuveno.de

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to