[ruby-core:118077] [Ruby master Bug#20445] Backport 2571d5376a38c333b8fe85f1f9b2f9c2422c0ad9 to ruby_3_3
From:
"k0kubun (Takashi Kokubun) via ruby-core" <ruby-core@...>
Date:
2024-05-29 22:51:43 UTC
List:
ruby-core #118077
Issue #20445 has been updated by k0kubun (Takashi Kokubun).
Backport changed from 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: REQUIRED to 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: DONE
Thanks for the ticket. I haven't noticed this ticket, but have already backported that commit:e5a1119f1b4fd93d60540cd4277e61851c3ebe45.
----------------------------------------
Bug #20445: Backport 2571d5376a38c333b8fe85f1f9b2f9c2422c0ad9 to ruby_3_3
https://bugs.ruby-lang.org/issues/20445#change-108504
* Author: mame (Yusuke Endoh)
* Status: Closed
* ruby -v: ruby 3.3.1 (2024-04-23 revision c56cd86388) [x86_64-linux]
* Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: DONE
----------------------------------------
Building Ruby 3.3.1 prints the following warning:
```
regexec.c: In function 'match_at':
regexec.c:2598:59: warning: 'stkp' may be used uninitialized [-Wmaybe-uninitialized]
2598 | if (*pbegin == OP_REPEAT_INC) stkp->u.repeat.count--;\
| ~~~~~~~~~~~~~~~~~~~~^~
regexec.c:3852:11: note: in expansion of macro 'CHECK_MATCH_CACHE'
3852 | CHECK_MATCH_CACHE;
| ^~~~~~~~~~~~~~~~~
regexec.c:2297:18: note: 'stkp' was declared here
2297 | OnigStackType *stkp; /* used as any purpose. */
| ^~~~
```
2571d5376a38c333b8fe85f1f9b2f9c2422c0ad9 will remove it.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/