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

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

[Octave-bug-tracker] [bug #55071] SegFault, calling contour()


From: Rik
Subject: [Octave-bug-tracker] [bug #55071] SegFault, calling contour()
Date: Thu, 22 Nov 2018 10:23:16 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063

Follow-up Comment #4, bug #55071 (project octave):

Running under gdb, the interesting part of the backtrace is


#0  0x00007f0c2c3dfe95 in cntr (X=..., Y=..., Z=...,
lvl=-0.99992325756410083)
    at libinterp/corefcn/__contourc__.cc:277
#1  0x00007f0c2c3e0293 in F__contourc__ (args=...) at
libinterp/corefcn/__contourc__.cc:315


__contour__ is an internal function and doesn't do input validation.  I will
prepare a patch for the upstream contourc.m to make sure that there are at
least 2 rows and 2 columns in the input data.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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