mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Ensure x86 stack is fortified, fixed #15335.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
20c99b1ff5
commit
dc6908ab44
1 changed files with 4 additions and 0 deletions
|
@ -37,3 +37,7 @@ _coroutine_transfer:
|
|||
|
||||
# Jump to the address on the stack
|
||||
ret
|
||||
|
||||
#if defined(__linux__) && defined(__ELF__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue