|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #49057] oct-parse.in.yy unit test of evalc crashes with MALLOC_PERTURB_ set |
Date: | Mon, 12 Sep 2016 21:01:36 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0 |
Follow-up Comment #3, bug #49057 (project octave): The attached patch fixes the crash for me. I believe the code in evalc is indeed wrong. This patch introduces a leak, but I'm not sure what would be the proper way to clean up an exception object that is allocated on the heap and then thrown to be caught or not caught later. I guess we could use a boolean flag instead of a pointer to an exception object that may or may not point to a valid exception. (file #38487) _______________________________________________________ Additional Item Attachment: File name: evalc.diff Size:0 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49057> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |