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

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

[Octave-bug-tracker] [bug #36067] bug in exist() when checking for a fau


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #36067] bug in exist() when checking for a faulty mex/oct file
Date: Sun, 25 Aug 2013 13:05:52 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36

Update of bug #36067 (project octave):

                  Status:            Works For Me => Confirmed              
                 Release:                   3.6.1 => dev                    

    _______________________________________________________

Follow-up Comment #9:

Thanks for the new test case, segfault confirmed with this one on the dev
branch. Yes, Octave is trying to load the named mex/oct file into the symbol
table if the name matches.

Your suggestion about bypassing the symbol table lookup if an extension was
given may be worth pursuing. I think the entire block that handles the symbol
table search results will fall through if the given string looks like it has a
file extension.

So to be clear, are you looking for a fix to avoid a crash when a string is
given that happens to have the same base name as a buggy mex/oct function,
exist ("causesegfault.bla"), or even exist ("causesegfault.oct"), but you
don't have a problem with a crash on exist ("causesegfault")?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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