[Libreoffice-commits] .: Branch 'libreoffice-4-0' - librelogo/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jan 29 00:54:52 PST 2013


 librelogo/source/LibreLogo/LibreLogo.py |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit a10f6afba65867a1460cbe63bcf6e3d6257aba69
Author: László Németh <nemeth at numbertext.org>
Date:   Mon Jan 28 14:30:59 2013 +0100

    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 at numbertext.org>
    Reviewed-by: Németh László <nemeth at numbertext.org>

diff --git a/librelogo/source/LibreLogo/LibreLogo.py b/librelogo/source/LibreLogo/LibreLogo.py
index 13d7a2a..3dc6140 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:


More information about the Libreoffice-commits mailing list