<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/regexec.c, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Correct castings to use OnigDistance</title>
<updated>2025-08-01T01:16:55+00:00</updated>
<author>
<name>TSUYUSATO Kitsune</name>
<email>make.just.on@gmail.com</email>
</author>
<published>2025-07-28T15:44:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=94aabd3415e3251e9058089d85dfeef30c3f2dfc'/>
<id>94aabd3415e3251e9058089d85dfeef30c3f2dfc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add castings to prevent warnings</title>
<updated>2025-08-01T01:16:55+00:00</updated>
<author>
<name>TSUYUSATO Kitsune</name>
<email>make.just.on@gmail.com</email>
</author>
<published>2025-07-28T09:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0eb1ed4f26afa64d52bae070727e4c5cf11775d7'/>
<id>0eb1ed4f26afa64d52bae070727e4c5cf11775d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Port a Oniguruma patch: Integer overflow in onig_search_gpos()</title>
<updated>2025-08-01T01:16:55+00:00</updated>
<author>
<name>TSUYUSATO Kitsune</name>
<email>make.just.on@gmail.com</email>
</author>
<published>2025-07-28T08:50:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ae966df90745f665aaf17b674f7c740e3514bd53'/>
<id>ae966df90745f665aaf17b674f7c740e3514bd53</id>
<content type='text'>
https://github.com/kkos/oniguruma/commit/778a43dd56925ed58bbe26e3a7bb8202d72c3f3f

It differs from the Oniguruma patch in that it dosen't use `onigenc_get_prev_char_head()`
because this function's signature has been changed by Oniguruma and the change is not ported
in Onigmo for now. This patch respects the current Onigmo implementation.

Co-Authored-By: K.Kosako &lt;kkos@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/kkos/oniguruma/commit/778a43dd56925ed58bbe26e3a7bb8202d72c3f3f

It differs from the Oniguruma patch in that it dosen't use `onigenc_get_prev_char_head()`
because this function's signature has been changed by Oniguruma and the change is not ported
in Onigmo for now. This patch respects the current Onigmo implementation.

Co-Authored-By: K.Kosako &lt;kkos@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Port a Oniguruma patch: Integer overflow in backward_search_range() and onig_search_gpos()</title>
<updated>2025-08-01T01:16:55+00:00</updated>
<author>
<name>TSUYUSATO Kitsune</name>
<email>make.just.on@gmail.com</email>
</author>
<published>2025-07-28T07:18:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f16262e54453d6dc483db3deda5c2674d8c1d52a'/>
<id>f16262e54453d6dc483db3deda5c2674d8c1d52a</id>
<content type='text'>
https://github.com/kkos/oniguruma/commit/bfc36d3d8139b8be4d3df630d625c58687b0c7d4

Co-Authored-By: K.Kosako &lt;kkos@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/kkos/oniguruma/commit/bfc36d3d8139b8be4d3df630d625c58687b0c7d4

Co-Authored-By: K.Kosako &lt;kkos@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Port a Oniguruma patch: Integer overflow in forward_search_range()</title>
<updated>2025-08-01T01:16:55+00:00</updated>
<author>
<name>TSUYUSATO Kitsune</name>
<email>make.just.on@gmail.com</email>
</author>
<published>2025-07-28T07:05:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b2da5f3188104a1264b4291f991af1fbbc0e0c07'/>
<id>b2da5f3188104a1264b4291f991af1fbbc0e0c07</id>
<content type='text'>
https://github.com/kkos/oniguruma/commit/db64ef3189f54917a5008a02bdb000adc514a90a

Co-Authored-By: K.Kosako &lt;kkos@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/kkos/oniguruma/commit/db64ef3189f54917a5008a02bdb000adc514a90a

Co-Authored-By: K.Kosako &lt;kkos@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 75aaeb35b82da26359b9418d2963384d0c55839c: [Backport #20239]</title>
<updated>2024-07-06T06:55:04+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-07-06T06:55:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2b35d80834f14011f7d313f8fac7855dc9949f70'/>
<id>2b35d80834f14011f7d313f8fac7855dc9949f70</id>
<content type='text'>
	[Bug #20239] Fix overflow at down-casting
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[Bug #20239] Fix overflow at down-casting
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 3a04ea2d0379dd8c6623c2d5563e6b4e23986fae: [Backport #20305]</title>
<updated>2024-07-06T06:54:03+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-07-06T06:54:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a67b43d99e24dc7c2a9e134a65f28f968fe124c1'/>
<id>a67b43d99e24dc7c2a9e134a65f28f968fe124c1</id>
<content type='text'>
	[Bug #20305] Fix matching against an incomplete character

	When matching against an incomplete character, some `enclen` calls are
	expected not to exceed the limit, and some are expected to return the
	required length and then the results are checked if it exceeds.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[Bug #20305] Fix matching against an incomplete character

	When matching against an incomplete character, some `enclen` calls are
	expected not to exceed the limit, and some are expected to return the
	required length and then the results are checked if it exceeds.
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 989a2355808a63fc45367785c82ffd46d18c900a:</title>
<updated>2024-04-23T10:18:14+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-04-23T10:18:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=90b194b5e3fe793c1ed895a4522675845181e6fd'/>
<id>90b194b5e3fe793c1ed895a4522675845181e6fd</id>
<content type='text'>
	Fix Use-After-Free issue for Regexp

	Co-authored-by: Isaac Peka &lt;7493006+isaac-peka@users.noreply.github.com&gt;
	---
	 regexec.c | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix Use-After-Free issue for Regexp

	Co-authored-by: Isaac Peka &lt;7493006+isaac-peka@users.noreply.github.com&gt;
	---
	 regexec.c | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 33e5b47c16f1fd3382186e6ffe73cfc6e00946f7:</title>
<updated>2024-04-23T10:17:53+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-04-23T10:17:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=404f1e215a1707b31edba36f9f07a82367960618'/>
<id>404f1e215a1707b31edba36f9f07a82367960618</id>
<content type='text'>
	Fix handling of reg-&gt;dmin in Regex matching

	---
	 regexec.c | 10 ++++++++++
	 1 file changed, 10 insertions(+)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix handling of reg-&gt;dmin in Regex matching

	---
	 regexec.c | 10 ++++++++++
	 1 file changed, 10 insertions(+)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) fac814c2dc31afef272b45392a7389ef0bfa3a4f: [Backport #19602]</title>
<updated>2023-07-22T02:48:47+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2023-07-22T02:48:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e65e0b99267c495186d7abb78c2725418761d756'/>
<id>e65e0b99267c495186d7abb78c2725418761d756</id>
<content type='text'>
	Fix `PLATFORM_GET_INC`

	On platforms where unaligned word access is not allowed, and if
	`sizeof(val)` and `sizeof(type)` differ:

	- `val` &gt; `type`, `val` will be a garbage.
	- `val` &lt; `type`, outside `val` will be clobbered.
	---
	 regexec.c | 2 +-
	 regint.h  | 9 ++++++++-
	 2 files changed, 9 insertions(+), 2 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix `PLATFORM_GET_INC`

	On platforms where unaligned word access is not allowed, and if
	`sizeof(val)` and `sizeof(type)` differ:

	- `val` &gt; `type`, `val` will be a garbage.
	- `val` &lt; `type`, outside `val` will be clobbered.
	---
	 regexec.c | 2 +-
	 regint.h  | 9 ++++++++-
	 2 files changed, 9 insertions(+), 2 deletions(-)
</pre>
</div>
</content>
</entry>
</feed>
