summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2013-01-28 14:30:59 +0100
committerLászló Németh <nemeth@numbertext.org>2013-01-28 14:30:59 +0100
commit397dabaea81af7d70f6c17b91e1f3bb424640d35 (patch)
tree081b45b617f47b1cc6d72e7decf7f1270507372b
parent4615ff90bd09ea02aff7a4952f1eb5cf9307375e (diff)
fdo#59969 crash fix (insecure clear screen during Logo execution)
Change-Id: Id0af5555685c67c02fecd8b10a40d4fb8135a2df
-rw-r--r--librelogo/source/LibreLogo/LibreLogo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/librelogo/source/LibreLogo/LibreLogo.py b/librelogo/source/LibreLogo/LibreLogo.py
index df5bdc054a83..542495dd07d9 100644
--- a/librelogo/source/LibreLogo/LibreLogo.py
+++ b/librelogo/source/LibreLogo/LibreLogo.py
@@ -620,6 +620,8 @@ def home(arg=None):
__removeshape__(__ACTUAL__)
def clearscreen(arg=None):
+ if __thread__:
+ return None
__getdocument__()
turtle = __getshape__(__TURTLE__)
if not turtle: