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

 
 

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

Submitted by:  John W. Eaton <jwe>
Submitted on:  Wed 04 Dec 2013 07:56:30 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: NoneAssigned to: None
Originator Name: jweOpen/Closed: Open
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

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.savannah.gnu.org/hgweb/octave/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>
Project Administrator

 

(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

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (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):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup