summaryrefslogtreecommitdiff
path: root/librelogo
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-29 09:48:41 +0100
commitebb1bb16d1822b938d482276e0882980f502eda9 (patch)
treee20b09a8cb3297fb8d9eff7ce72eb18e2675eef0 /librelogo
parent9c8432cacdf755bda9d011a2c095c791672c6205 (diff)
fdo#59969 crash fix (insecure clear screen during Logo execution)
Change-Id: Id0af5555685c67c02fecd8b10a40d4fb8135a2df
Diffstat (limited to 'librelogo')
-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 13d7a2a15620..3dc6140d8564 100644
--- a/librelogo/source/LibreLogo/LibreLogo.py
+++ b/librelogo/source/LibreLogo/LibreLogo.py
@@ -633,6 +633,8 @@ def home(arg=None):
__removeshape__(__ACTUAL__)
def clearscreen(arg=None):
+ if __thread__:
+ return None
__getdocument__()
turtle = __getshape__(__TURTLE__)
if not turtle: