diff options
| author | U.Nakamura <usa@ruby-lang.org> | 2023-07-25 20:37:25 +0900 |
|---|---|---|
| committer | U.Nakamura <usa@ruby-lang.org> | 2023-07-25 20:37:40 +0900 |
| commit | aac3232ab09f649c5de86a1ef7b942de3cc218ce (patch) | |
| tree | 10a24a9877e6da6b8d0843552f62a3ed6443bd32 /test | |
| parent | 3799270ec27b1267cd9923dae00bcb3955f7e061 (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(-)
note: ruby_3_1 is patched regint.h only
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
