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

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

[Octave-bug-tracker] [bug #52977] Octave can be caused to crash with aut


From: Olaf Till
Subject: [Octave-bug-tracker] [bug #52977] Octave can be caused to crash with autoload'ed functions
Date: Tue, 6 Feb 2018 01:10:46 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

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

Same bug is triggered with

get_help_text ("somename")

if somename.oct is a file intended to be autoloaded with an alias.

This happens in installation of packages with such files, since Octaves
builtin "__list_functions__" doesn't handle autoloads if called with a
directory argument. (So that was triggers the bug is probably a bug itself. A
different issue.)

The fix for the original bug (the segfault), enabling installation of such
packages again, is checking if the loaded function is zero before using it. A
small changeset is attached.

(file #43190)
    _______________________________________________________

Additional Item Attachment:

File name: fix-52977.cset                 Size:0 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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