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

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

[Octave-bug-tracker] [bug #61472] AddressSanitizer crash in MEX tests


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #61472] AddressSanitizer crash in MEX tests
Date: Mon, 22 Nov 2021 15:31:28 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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

When I made this change
http://hg.savannah.gnu.org/hgweb/octave/rev/b00ff462e0f2 I forgot that the
mxMalloc, mxCalloc, mxRealloc, and mxFree actually use the corresponding
C-library functions instead of C++ new and delete operators.  Hmm.  So I guess
we need to either keep track of that in the Array classes or implement these
mxArray memory management functions using the C++ new and delete operators. 
Or is there a better solution?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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