Change in core[libreoffice-4-0]: fdo#59969 crash fix (insecure clear screen during Logo execu...

Németh László (via_Code_Review) gerrit at gerrit.libreoffice.org
Tue Jan 29 00:52:26 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1914

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/14/1914/1

fdo#59969 crash fix (insecure clear screen during Logo execution)

Change-Id: Id0af5555685c67c02fecd8b10a40d4fb8135a2df
---
M librelogo/source/LibreLogo/LibreLogo.py
1 file changed, 2 insertions(+), 0 deletions(-)



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 @@
     __removeshape__(__ACTUAL__)
 
 def clearscreen(arg=None):
+    if __thread__:
+        return None
     __getdocument__()
     turtle = __getshape__(__TURTLE__)
     if not turtle:

-- 
To view, visit https://gerrit.libreoffice.org/1914
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id0af5555685c67c02fecd8b10a40d4fb8135a2df
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Németh László <nemeth at numbertext.org>


More information about the LibreOffice mailing list