bugGNU Octave - Bugs: bug #40812, glpk should avoid integer overflow...

 
 

bug #40812: glpk should avoid integer overflow when Octave uses 64-bit indexing

Submitter:  John W. Eaton <jwe>
Submitted:  Wed 04 Dec 2013 07:56:30 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  None Assigned to:  None
Originator Name:  jwe Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Wed 04 Dec 2013 07:56:30 PM UTC, original submission:  

GLPK uses integer variables for problem dimensions, but Octave is storing octave_idx_type values in those variables.   This can cause trouble if Octave is compiled with 64-bit indexing and someone passes large arrays to glpk.  The changes required should be similar to what was done in this changeset

http://hg.savanna ... /rev/ac74b0c4c564

for similar problems with Qhull.

It would probably be best to generalize the "octave_qhull_dims_ok" function and avoid duplicating it in multiple files.


John W. Eaton <jwe>
Group administrator

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by jwe (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code