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

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

[Octave-bug-tracker] [bug #41945] Segfault when subsasgn returns nothing


From: Stefan Mahr
Subject: [Octave-bug-tracker] [bug #41945] Segfault when subsasgn returns nothing in user-defined class
Date: Mon, 24 Mar 2014 22:51:11 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:28.0) Gecko/20100101 Firefox/28.0

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

The segfault in function occurs
octave_user_function::subsasgn_optimization_ok, because ret_list is NULL
(since there's output argument to subsasgn). Using 'function out = subsasgn'
also triggers a segfault - in this case param_list is NULL.

Patch is attached or can be found here (with some other ones): bookmark
nkf-ready <http://inversethought.com/hg/octave-nkf/rev/9f6614cecb02>


(file #31030)
    _______________________________________________________

Additional Item Attachment:

File name: subsasgn.diff                  Size:0 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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