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

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

[Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty s


From: Rik
Subject: [Octave-bug-tracker] [bug #56232] Octave crash when inverting an empty sparse matrix.
Date: Wed, 8 May 2019 13:17:46 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #42, bug #56232 (project octave):

I think we can begin to proceed on resolving some parts of this bug.  I
believe all of these changes should go on the dev branch.  An open question is
whether we want to backport something minimal just to stop the segfault in
5.1.0.  That seems useful as the interpreter shouldn't segfault (losing user
variables) for innocuous, valid inputs like C - C.

The first part of the fix on dev is a move to maintaining memory at all times
for at least one element.  This will ensure valid data, ridx, and cidx
pointers at all times.  Any routine which sets nzmax needs to ensure that a
value of 0 is replaced with a value of 1.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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