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

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

[Octave-bug-tracker] [bug #63466] Possible invalid memory access in NDAr


From: Rik
Subject: [Octave-bug-tracker] [bug #63466] Possible invalid memory access in NDArray::dim3()
Date: Sun, 4 Dec 2022 19:21:33 -0500 (EST)

Follow-up Comment #1, bug #63466 (project octave):

I agree that this should be made safe.  In the Octave interpreter, the
function size() is defined in data.cc and it specifically does a test on the
number of dimensions before returning either the true dimension of the array
or 1.


          m(i) = nd <= ndims ? dimensions (nd-1) : 1;





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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