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

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

[Octave-bug-tracker] [bug #36866] Calling imagesc on complex matrix caus


From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #36866] Calling imagesc on complex matrix causes octave to crash
Date: Tue, 31 Jul 2012 22:09:41 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Webwallaby/3.6.13

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

Never mind, I found the UB, and why it wasn't showing up in my development
build. There was an out of bounds indexing problem concerning empty matrices,
and in my dev build I build with bound-checking.

Rik, I have instead opted to warn and show the real part like imshow does. In
addition, I've added a few more checks on the C++ side to hopefully make it
impossible to crash Octave with a bad __go_image__ call:

http://hg.savannah.gnu.org/hgweb/octave/rev/7a3957ca99c3

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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