Project

General

Profile

Bug #11404 » 0001-load.c-avoid-segfault-when-throw-occurs-in-the-middl.patch

Here is the fix! - alexdowad (Alex Dowad), 07/29/2015 08:25 AM

View differences:

load.c
th->top_self = self;
th->top_wrapper = wrapper;
if (!loaded && !FIXNUM_P(th->errinfo)) {
if (!loaded && !FIXNUM_P(th->errinfo) && state != TAG_THROW) {
/* an error on loading don't include INT2FIX(TAG_FATAL) see r35625 */
return TAG_RAISE;
}
(1-1/4)