diff options
| author | nagachika <nagachika@ruby-lang.org> | 2023-07-22 11:48:47 +0900 |
|---|---|---|
| committer | nagachika <nagachika@ruby-lang.org> | 2023-07-22 11:48:47 +0900 |
| commit | e65e0b99267c495186d7abb78c2725418761d756 (patch) | |
| tree | caf7bc41704041b4e2a96f0295e712f3ebf66a3f /test/ruby/test_string.rb | |
| parent | 46b62f44ce30bf234a76114c8249081e47ce3da4 (diff) | |
merge revision(s) fac814c2dc31afef272b45392a7389ef0bfa3a4f: [Backport #19602]
Fix `PLATFORM_GET_INC`
On platforms where unaligned word access is not allowed, and if
`sizeof(val)` and `sizeof(type)` differ:
- `val` > `type`, `val` will be a garbage.
- `val` < `type`, outside `val` will be clobbered.
---
regexec.c | 2 +-
regint.h | 9 ++++++++-
2 files changed, 9 insertions(+), 2 deletions(-)
Diffstat (limited to 'test/ruby/test_string.rb')
0 files changed, 0 insertions, 0 deletions
