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

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

 



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@xxxxxxxxx>  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.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]