Project

General

Profile

Actions

Backport #8266

closed

Backport r40216 (fiddle's mprotect)

Added by naruse (Yui NARUSE) almost 11 years ago. Updated almost 11 years ago.


Description

r40216 を backport お願いします。
とりあえず segv はしなくなります。

Actions #1

Updated by nagachika (Tomoyuki Chikanaga) almost 11 years ago

  • Status changed from Open to Assigned
  • Assignee set to nagachika (Tomoyuki Chikanaga)

ありがとうございます。とりあえず rubyci で SEGV って出ると精神衛生上よくないので先んじて入れます。

Actions #2

Updated by nagachika (Tomoyuki Chikanaga) almost 11 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r40290.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 40216: [Backport #8266]

* ext/fiddle/closure.c (initialize): check mprotect's return value.
  If mprotect is failed because of PaX or something, its function call
  will cause SEGV.
  http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20130401T210301Z.diff.html.gz
Actions

Also available in: Atom PDF

Like0
Like0Like0