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

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

[Octave-patch-tracker] [patch #8152] classdef: Fix crash when indexing c


From: Philipp Kutin
Subject: [Octave-patch-tracker] [patch #8152] classdef: Fix crash when indexing classdef object with empty parentheses.
Date: Mon, 05 Aug 2013 11:19:36 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0

URL:
  <http://savannah.gnu.org/patch/?8152>

                 Summary: classdef: Fix crash when indexing classdef object
with empty parentheses.
                 Project: GNU Octave
            Submitted by: pkutin
            Submitted on: Mon 05 Aug 2013 11:19:35 AM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

* ov-classdef.cc: check whether 'ival' is empty and generate an error in that
case instead of continuing and crashing.
--

The crash is easy to reproduce: just create any classdef object, e.g.
"o=TestClass()", then do "o()". Btw, the parent commit won't make sense --
it's my own (in classdef-pk), changing .hgignore for my setup (build subdir
inside octave dir). But as far as I can see, "hg import" is pretty liberal...



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 05 Aug 2013 11:19:35 AM GMT  Name:
classdef-fix-crash-empty-idxparen.patch  Size: 1kB   By: pkutin

<http://savannah.gnu.org/patch/download.php?file_id=28762>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8152>

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




reply via email to

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