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

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

[Octave-bug-tracker] [bug #51736] Memory overflow in icholt


From: anonymous
Subject: [Octave-bug-tracker] [bug #51736] Memory overflow in icholt
Date: Sat, 12 Aug 2017 09:14:22 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?51736>

                 Summary: Memory overflow in icholt
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 12 Aug 2017 01:14:21 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: Richard Zweig
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Hi,

my report refers to the Octave 4.2.1 and the lastest development version from
the public repository. I think there is a memory error from overflowing array

std::vector<octave_idx_type> vec;

in function icholt from source file __ichol__.cc.

I appended a script which terminates my Octave 4.2.1 session when I run it in
Linux. Please look a the comments in that .m file for what I have observed
when executing the script in Octave 4.2.1.

The second attachment is a patch which can be applied to __ichol__.cc. Script
ichol_example.m can be run succesfully when these changes are made.

Maybe you would like to consider fixing this,
Richard





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 12 Aug 2017 01:14:21 PM UTC  Name: ichol_example.m  Size: 2KiB   By:
None
Minimum (non-)working example which reproduces the error and a possible
solution introducing a mark array in function icholt from file __ichol__.cc.
<http://savannah.gnu.org/bugs/download.php?file_id=41490>
-------------------------------------------------------
Date: Sat 12 Aug 2017 01:14:21 PM UTC  Name: ichol_mark_array.patch  Size:
2KiB   By: None
Minimum (non-)working example which reproduces the error and a possible
solution introducing a mark array in function icholt from file __ichol__.cc.
<http://savannah.gnu.org/bugs/download.php?file_id=41491>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51736>

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




reply via email to

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