bugGNU Octave - Bugs: bug #37199, dot() segfaults with integers

 
 

bug #37199: dot() segfaults with integers

Submitted by:  Carnë Draug <carandraug>
Submitted on:  Mon 27 Aug 2012 01:19:17 AM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 27 Aug 2012 02:09:48 AM UTC, comment #1:

It looks like that for the integer case, there is an out of bounds access to the third argument of dot. See
http://hg.savannah.gnu.org/hgweb/octave/rev/a38d5ed5b3d8

Do we also want to apply this change to stable?

Max Brister <fisheater>
Project Member
Mon 27 Aug 2012 01:19:17 AM UTC, original submission:

Hi

the function doesn't seem to like integers and segfaults when presented with them:

I can reproduce this with uint and int8/16/32/64. Also, it's enough for one of the entries to be of the integer classes, the following also segfaults:

Carnë

Carnë Draug <carandraug>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by fisheater (Posted a comment)
  • -unavailable- added by carandraug (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 project members can vote.

     

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

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 05 Sep 2013 01:10:03 PM UTCmtmillerDependencies-=>bugs #39952 is dependent
    Mon 27 Aug 2012 02:09:48 AM UTCfisheaterStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1