[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63303] test bsxfun.cc-tst coredumps with ASAN
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #63303] test bsxfun.cc-tst coredumps with ASAN |
Date: |
Wed, 2 Nov 2022 13:16:11 -0400 (EDT) |
Follow-up Comment #7, bug #63303 (project octave):
IIUC, `m_iwork` is initialized to the `nil_rep`. Indexing it will probably
fail.
Does this change fix the issue from comment #4 and #5?
diff -r 2850eef38937 liboctave/numeric/LSODE.cc
--- a/liboctave/numeric/LSODE.cc Wed Nov 02 17:46:15 2022 +0100
+++ b/liboctave/numeric/LSODE.cc Wed Nov 02 18:14:07 2022 +0100
@@ -131,6 +131,8 @@
user_jac_ignore_ml_mu = true;
+ m_iwork = Array<octave_f77_int_type> (dim_vector (2, 1));
+
m_iwork(0) = lower_jacobian_subdiagonals (); // 'ML' in dlsode.f
m_iwork(1) = upper_jacobian_subdiagonals (); // 'MU' in dlsode.f
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63303>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63303] test bsxfun.cc-tst coredumps with ASAN, Dmitri A. Sergatskov, 2022/11/01
- [Octave-bug-tracker] [bug #63303] test bsxfun.cc-tst coredumps with ASAN, Dmitri A. Sergatskov, 2022/11/01
- [Octave-bug-tracker] [bug #63303] test bsxfun.cc-tst coredumps with ASAN, Markus Mützel, 2022/11/02
- [Octave-bug-tracker] [bug #63303] test bsxfun.cc-tst coredumps with ASAN, John W. Eaton, 2022/11/02
- [Octave-bug-tracker] [bug #63303] test bsxfun.cc-tst coredumps with ASAN, Dmitri A. Sergatskov, 2022/11/02
- [Octave-bug-tracker] [bug #63303] test bsxfun.cc-tst coredumps with ASAN, Dmitri A. Sergatskov, 2022/11/02
- [Octave-bug-tracker] [bug #63303] test bsxfun.cc-tst coredumps with ASAN, Markus Mützel, 2022/11/02
- [Octave-bug-tracker] [bug #63303] test bsxfun.cc-tst coredumps with ASAN,
Markus Mützel <=
- [Octave-bug-tracker] [bug #63303] test bsxfun.cc-tst coredumps with ASAN, Dmitri A. Sergatskov, 2022/11/02
- [Octave-bug-tracker] [bug #63303] test bsxfun.cc-tst coredumps with ASAN, Markus Mützel, 2022/11/02
- [Octave-bug-tracker] [bug #63303] test bsxfun.cc-tst coredumps with ASAN, Dmitri A. Sergatskov, 2022/11/02
- [Octave-bug-tracker] [bug #63303] test bsxfun.cc-tst coredumps with ASAN, Markus Mützel, 2022/11/03