Bug #11404 » 0001-load.c-avoid-segfault-when-throw-occurs-in-the-middl.patch
| 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;
|
||
|
}
|
||