[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc
From: |
Robert Jenssen |
Subject: |
[Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc |
Date: |
Tue, 1 Nov 2022 01:17:55 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?63300>
Summary: valgrind warning from inv.cc
Project: GNU Octave
Submitter: morgawr
Submitted: Tue 01 Nov 2022 05:17:53 AM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name: Robert Jenssen
Originator Email:
Open/Closed: Open
Release: 7.2.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 01 Nov 2022 05:17:53 AM UTC By: Robert Jenssen <morgawr>
I get the following valgrind warning:
Conditional jump or move depends on uninitialised value(s)
==1651789== at 0x59E77A5: octave::Finv(octave_value_list const&, int)
(inv.cc:214)
This patch makes it go away:
--- octave-7.2.0/libinterp/corefcn/inv.cc 2022-07-28 23:08:26.000000000
+1000
+++ octave-7.2.0.new/libinterp/corefcn/inv.cc 2022-11-01 15:46:52.341223657
+1100
@@ -77,7 +77,7 @@
err_square_matrix_required ("inverse", "A");
octave_value result;
- octave_idx_type info;
+ octave_idx_type info = 0;
double rcond = 0.0;
float frcond = 0.0;
bool isfloat = arg.is_single_type ();
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63300>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc,
Robert Jenssen <=
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, anonymous, 2022/11/01
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Robert Jenssen, 2022/11/01
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Rik, 2022/11/01
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Markus Mützel, 2022/11/02
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Markus Mützel, 2022/11/02
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Robert Jenssen, 2022/11/02
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Arun Giridhar, 2022/11/02
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Rik, 2022/11/02
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Markus Mützel, 2022/11/03
- [Octave-bug-tracker] [bug #63300] valgrind warning from inv.cc, Rik, 2022/11/04