gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-devel] [bug #49347] Invalid writes and reads in Table


From: Vladimir Markelov
Subject: [gnuastro-devel] [bug #49347] Invalid writes and reads in Table
Date: Sun, 16 Oct 2016 01:19:15 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #1, bug #49347 (project gnuastro):

As for

==9389== 48 bytes in 1 blocks are definitely lost in loss record 590 of 658
==9389==    at 0x4C29BBE: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9389==    by 0x41A6F7: gal_txtarray_txt_to_array (txtarray.c:264)
==9389==    by 0x407C40: sanitycheck (ui.c:687)

it seems that the trouble is in 

struct tableparams *p->up->txtarray

gal_txtarray_txt_to_array allocates memory for it, but freeandreport does not
do cleanup for the structure field txtarray

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]