summaryrefslogtreecommitdiff
path: root/librelogo
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2013-01-28 14:30:59 +0100
committerNémeth László <nemeth@numbertext.org>2013-01-29 08:54:33 +0000
commita10f6afba65867a1460cbe63bcf6e3d6257aba69 (patch)
tree1f8b5644266c53fe6018d5178754005c685bb5ec /librelogo
parented263a9de1eb632aee36abffb716cccdfc8304d0 (diff)
fdo#59969 crash fix (insecure clear screen during Logo execution)
Change-Id: Id0af5555685c67c02fecd8b10a40d4fb8135a2df Reviewed-on: https://gerrit.libreoffice.org/1914 Tested-by: Németh László <nemeth@numbertext.org> Reviewed-by: Németh László <nemeth@numbertext.org>
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: