patchGNU Octave - Patches: patch #8152, classdef: Fix crash when indexing...

 
 

patch #8152: classdef: Fix crash when indexing classdef object with empty parentheses.

Submitted by:  Philipp Kutin <pkutin>
Submitted on:  Mon 05 Aug 2013 11:19:35 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 05 Aug 2013 11:19:35 AM UTC, original submission:
  • 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...

Philipp Kutin <pkutin>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pkutin (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 05 Aug 2013 11:19:35 AM UTCpkutinAttached File-=>Added classdef-fix-crash-empty-idxparen.patch, #28762

    Back to the top


    Powered by Savane 3.1-cleanup