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

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

[Octave-bug-tracker] [bug #42825] Memory corruption in sparse matrix ope


From: Rik
Subject: [Octave-bug-tracker] [bug #42825] Memory corruption in sparse matrix operation
Date: Sun, 14 Feb 2016 06:54:47 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Update of bug #42825 (project octave):

                  Status:          Ready For Test => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #11:

I love that the solution was as simple as replacing std::copy with
std::copy_backward.  I applied the patch to the stable branch here
(http://hg.savannah.gnu.org/hgweb/octave/rev/6209f428426c) with the slight
simplification of


li + rnz + nz - ui
=>
new_nz


Marking as fixed and closing report.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42825>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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