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/


Reply via email to