diff options
author | NARUSE, Yui <nurse@users.noreply.github.com> | 2024-03-21 09:05:07 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 00:05:07 +0000 |
commit | b2c2702f20abfd4bb5f38cad60170e2bbb3adff9 (patch) | |
tree | 71379ea0d5f4d11c2b3416d719a1098735b3ddcd /version.h | |
parent | 00cb72157a60c20a9b9d9fe81fc974ea83d672b4 (diff) |
merge revision(s) 01fd262e62076277a41af72ea13f20deb1b462a2: [Backport #20245] (#10307)
Fix crash when checking symbol encoding
[Bug #20245]
We sometimes pass in a fake string to sym_check_asciionly. This can crash
if sym_check_asciionly raises because it creates a CFP with the fake
string as the receiver which will crash if GC tries to mark the CFP.
For example, the following script crashes:
GC.stress = true
Object.const_defined?("\xC3")
Diffstat (limited to 'version.h')
-rw-r--r-- | version.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ # define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR -#define RUBY_PATCHLEVEL 17 +#define RUBY_PATCHLEVEL 18 #include "ruby/version.h" #include "ruby/internal/abi.h" |