URL:
  <http://savannah.gnu.org/bugs/?39104>

                 Summary: valgrind finds errors in rng/test.c
                 Project: GNU Scientific Library
            Submitted by: psa
            Submitted on: Tue 28 May 2013 05:54:44 PM GMT
                Category: None
                Severity: 3 - Normal
        Operating System: 
                  Status: Confirmed
             Assigned to: None
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any

    _______________________________________________________

Details:

==13589== Command: ./test
==13589== 
==13589== Syscall param write(buf) points to uninitialised byte(s)
==13589==    at 0x30008DB650: __write_nocancel (in /lib64/libc-2.12.so)
==13589==    by 0x3000871D52: _IO_file_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13589==    by 0x3000871C19: _IO_file_xsputn@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13589==    by 0x3000867CCC: fwrite (in /lib64/libc-2.12.so)
==13589==    by 0x40362B: gsl_rng_fwrite (file.c:49)
==13589==    by 0x4016C1: rng_read_write_test (test.c:401)
==13589==    by 0x402240: main (test.c:198)
==13589==  Address 0x4d787e4 is 4 bytes inside a block of size 131,080
alloc'd
==13589==    at 0x4A069EE: malloc (vg_replace_malloc.c:270)
==13589==    by 0x40830B: gsl_rng_alloc (rng.c:39)
==13589==    by 0x401675: rng_read_write_test (test.c:392)
==13589==    by 0x402240: main (test.c:198)
==13589== 
==13589== Syscall param write(buf) points to uninitialised byte(s)
==13589==    at 0x30008DB650: __write_nocancel (in /lib64/libc-2.12.so)
==13589==    by 0x3000871D52: _IO_file_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13589==    by 0x3000873304: _IO_do_write@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13589==    by 0x3000872ADF: _IO_file_close_it@@GLIBC_2.2.5 (in
/lib64/libc-2.12.so)
==13589==    by 0x3000866777: fclose@@GLIBC_2.2.5 (in /lib64/libc-2.12.so)
==13589==    by 0x4016CC: rng_read_write_test (test.c:402)
==13589==    by 0x402240: main (test.c:198)
==13589==  Address 0x4c0e384 is not stack'd, malloc'd or (recently) free'd
==13589== 





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39104>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to