bugGNU Scientific Library - Bugs: bug #41457, valgrind finds errors in...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #41457: valgrind finds errors in matrix/test.c

Submitted by:  Patrick Alken <psa>
Submitted on:  Tue 04 Feb 2014 05:13:51 PM UTC  
 
Category: Runtime errorSeverity: 3 - Normal
Operating System: Status: None
Assigned to: NoneOpen/Closed: Open
Release: 

Tue 04 Feb 2014 05:13:51 PM UTC, original submission:

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.

Patrick Alken <psa>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psa (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup