diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-03 05:12:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-03 05:12:52 +0000 |
commit | 8fc203ba5face785681b3f06eac1d116d937499b (patch) | |
tree | 9630e0bf769462731b288ccd064ef10812954233 /dmyext.c | |
parent | b03c1d087b00f7d8fea6001dd9e7e70fe7634e14 (diff) |
cont.c: handle errors for getcontext()
It may raise an error in a certain security configuration.
It is very likely to trigger a segmentation fault if `getcontext()` failed silently
and we just let it keep going.
Related to https://bugs.ruby-lang.org/issues/14883
[Fix GH-1903]
Based on the patch from Lion Yang <lion@aosc.io>
From: Lion Yang <lion@aosc.io>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dmyext.c')
0 files changed, 0 insertions, 0 deletions