bugGNU Octave - Bugs: bug #53800, Typing "exit" in a cell...


bug #53800: Typing "exit" in a cell of the variable editor will exit the application

Submitted by:  Dan Sebald <sebald>
Submitted on:  Tue 01 May 2018 05:04:37 AM UTC  
Category:  GUI Severity:  3 - Normal
Priority:  3 - Low Item Group:  Unexpected Error
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 02 May 2018 02:54:33 AM UTC, comment #2:

figure seems valid... I mean, it returns a number. :-)

Since exit and quit throw exceptions, we could catch those and turn them into warnings. That's probably better than trying to detect a list of forbidden expressions.

John W. Eaton <jwe>
Project Administrator
Tue 01 May 2018 10:43:43 PM UTC, comment #1:

It would probably be nicer, it's true, but it might be a lot of work. Right now, as you have found, the input is captured and eval'ed. This is useful because you can have expressions such as

I don't see an easy way to police what the user types.

Rik <rik5>
Project Administrator
Tue 01 May 2018 05:04:37 AM UTC, original submission:

After launching the GUI, type

at the command line. Click in one of the cells of one of the variables and type "exit" followed by the Enter key.

There is probably a class of commands such as 'quit', 'exit', 'figure', etc. that should be disallowed in the variable editor.

Dan Sebald <sebald>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by sebald (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-01 rik5 Priority5 - Normal => 3 - Low
        StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.4