mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Ensure stack is correctly protected
See https://bugs.ruby-lang.org/issues/15335 for more details. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e64f71f812
commit
f33adbc11e
1 changed files with 4 additions and 0 deletions
|
@ -40,3 +40,7 @@ coroutine_transfer:
|
|||
|
||||
# We pop the return address and jump to it
|
||||
ret
|
||||
|
||||
#if defined(__linux__) && defined(__ELF__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue