Bug 59969 - Clear screen during Logo program execution can crash LibreOffice
Summary: Clear screen during Logo program execution can crash LibreOffice
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.2 rc
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:4.0.0 target:4.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-28 13:22 UTC by László Németh
Modified: 2013-01-29 08:58 UTC (History)
0 users

See Also:
Crash report or crash signature:
Regression By:


Attachments
An arbitrary Logo program to draw a while in the LibreOffice canvas. (12.87 KB, application/vnd.oasis.opendocument.text)
2013-01-28 13:22 UTC, László Németh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description László Németh 2013-01-28 13:22:16 UTC
Created attachment 73772 [details]
An arbitrary Logo program to draw a while in the LibreOffice canvas.

Frequent clicks on clear screen icon can crash LibreOffice under Linux or Windows. See attached test file. A small patch to forbid clear screen function during program execution will be issued.
Comment 1 Not Assigned 2013-01-28 14:38:05 UTC
Laszlo Nemeth committed a patch related to this issue.
It has been pushed to "libreoffice-4-0-0":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=397dabaea81af7d70f6c17b91e1f3bb424640d35&h=libreoffice-4-0-0

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


It will be available already in LibreOffice 4.0.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 2 Jorendc 2013-01-28 14:53:53 UTC
(In reply to comment #0)
> Created attachment 73772 [details]
> An arbitrary Logo program to draw a while in the LibreOffice canvas.
> 
> Frequent clicks on clear screen icon can crash LibreOffice under Linux or
> Windows. See attached test file. A small patch to forbid clear screen
> function during program execution will be issued.

Can we mark this bug as 'NEW' or did you set this as 'UNCONFIRMED' to have an independent test? If so, is it possible to provide any steps; If not, we can mark this as 'NEW'.

Kind regards,
Joren
Comment 3 László Németh 2013-01-28 15:06:46 UTC
Joren: I have tested on two platforms, with two different RC versions, so was confirmed, but I forgot to set it to NEW. Thanks for your comment! Laszlo
Comment 4 László Németh 2013-01-28 15:07:18 UTC
Fixed in 4.0.0 and master.
Comment 5 Not Assigned 2013-01-29 08:52:40 UTC
Laszlo Nemeth committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=ebb1bb16d1822b938d482276e0882980f502eda9

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



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 6 Not Assigned 2013-01-29 08:58:38 UTC
Laszlo Nemeth committed a patch related to this issue.
It has been pushed to "libreoffice-4-0":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=a10f6afba65867a1460cbe63bcf6e3d6257aba69&h=libreoffice-4-0

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


It will be available in LibreOffice 4.0.1.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.