octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60473] rmdir called with empty string causes


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #60473] rmdir called with empty string causes gui to crash on windows
Date: Thu, 29 Apr 2021 16:19:00 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #6, bug #60473 (project octave):

The interpreter notifies the GUI when a directory is removed.  Then a Qt
signal is emitted and the editor function that responds to the signal was
trying to remove double quote characters (if any) at the beginning and end of
the file.  But there was no check there for the file name being empty so there
was an attempt to index a QString object with an out of bounds index and
that's what caused the crash.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60473>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]