[Bug 538087] Review Request: dgc - A system for the creation of digital circuits

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 18 05:58:42 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=538087





--- Comment #4 from Shakthi Kannan <shakthimaan at gmail.com>  2009-11-18 00:58:41 EDT ---
#Comment 3: A bug :)

In app/dgc.c main() function, there is:

319:  char *s;
320:  s = b_get_ff_searchpath();

324: free (s);

But, b_get_ff_searchpath() is invoked in util/b_ff.c, where memory is allocated
for 's', and the pointer 's' is returned. So, trying to free() the memory in
the calling function, dumps :)

But, giving proper lib file and examples as input, doesn't enter this logic,
and hence doesn't hit this error. You can copy the
/usr/share/doc/dgc-0.98/tests/*.sh to any folder, chmod +x *.sh, and running
them should run the test cases.

I will update this, and make an updated release by EOD.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list