[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] [bug #41457] valgrind finds errors in matrix/test.c
From: |
Patrick Alken |
Subject: |
[Bug-gsl] [bug #41457] valgrind finds errors in matrix/test.c |
Date: |
Tue, 04 Feb 2014 17:13:52 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686 on x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 |
URL:
<http://savannah.gnu.org/bugs/?41457>
Summary: valgrind finds errors in matrix/test.c
Project: GNU Scientific Library
Submitted by: psa
Submitted on: Tue 04 Feb 2014 05:13:51 PM GMT
Category: Runtime error
Severity: 3 - Normal
Operating System:
Status: None
Assigned to: None
Open/Closed: Open
Release:
Discussion Lock: Any
_______________________________________________________
Details:
This is related to bug #39103. I changed the gsl_block_alloc call back to
malloc from calloc for the block data. Its better to memset the data block to
0 in the vector/matrix calloc calls.
the vector_calloc memset works ok, but for some reason the matrix_calloc
memset doesn't initialize the padding bytes correctly, and valgrind finds
uninitialized errors in the long_double_fwrite routine.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41457>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gsl] [bug #41457] valgrind finds errors in matrix/test.c,
Patrick Alken <=