<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/regexec.c, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Remove old code for BMH search</title>
<updated>2025-11-02T05:12:31+00:00</updated>
<author>
<name>K.Takata</name>
<email>kentkt@csc.jp</email>
</author>
<published>2019-01-29T09:59:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=780c2b9853219b56a18c2114ffb43801780b346a'/>
<id>780c2b9853219b56a18c2114ffb43801780b346a</id>
<content type='text'>
Remove the code for Boyer-Moore-Horspool search.
Now we are using Sunday's quick search.

https://github.com/k-takata/Onigmo/commit/3d9072419a1578b742a422412d004fd8a54209fd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the code for Boyer-Moore-Horspool search.
Now we are using Sunday's quick search.

https://github.com/k-takata/Onigmo/commit/3d9072419a1578b742a422412d004fd8a54209fd
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix lgtm.com warnings</title>
<updated>2025-11-02T05:12:00+00:00</updated>
<author>
<name>K.Takata</name>
<email>kentkt@csc.jp</email>
</author>
<published>2019-01-25T09:56:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=70aeeeb515713b1632f7f7cc53e8dae326fc0fc9'/>
<id>70aeeeb515713b1632f7f7cc53e8dae326fc0fc9</id>
<content type='text'>
* Multiplication result may overflow 'int' before it is converted to
  'OnigDistance'.
* Comparison is always true because code &lt;= 122.
* This statement makes ExprStmt unreachable.
* Empty block without comment

https://github.com/k-takata/Onigmo/commit/387ad616c3cb9370f99d2b11198c2135fa07030f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Multiplication result may overflow 'int' before it is converted to
  'OnigDistance'.
* Comparison is always true because code &lt;= 122.
* This statement makes ExprStmt unreachable.
* Empty block without comment

https://github.com/k-takata/Onigmo/commit/387ad616c3cb9370f99d2b11198c2135fa07030f
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix indents in Onigmo files to use spaces instead of tabs (#14047) [no ci]</title>
<updated>2025-11-02T05:05:12+00:00</updated>
<author>
<name>Hiroya Fujinami</name>
<email>make.just.on@gmail.com</email>
</author>
<published>2025-07-31T04:08:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e02c892ade90ee401daf26292fbb99d32af7f619'/>
<id>e02c892ade90ee401daf26292fbb99d32af7f619</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct castings to use OnigDistance</title>
<updated>2025-08-02T12:00:36+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=fda30bd8225660602e87f2d28be3619ec142e759'/>
<id>fda30bd8225660602e87f2d28be3619ec142e759</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-02T12:00:36+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=d142f6bce02038e9e24abcbada28247559765d16'/>
<id>d142f6bce02038e9e24abcbada28247559765d16</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-02T12:00:36+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=92785d51e1009fabc4c1f1c4f31c7c1ec2fc115c'/>
<id>92785d51e1009fabc4c1f1c4f31c7c1ec2fc115c</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-02T12:00:36+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=726a19f4d058054ea16878a4165852ed9768de08'/>
<id>726a19f4d058054ea16878a4165852ed9768de08</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-02T12:00:36+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=f2d4bea53d3ba98e04f0a22c4bc2e8cd299281ea'/>
<id>f2d4bea53d3ba98e04f0a22c4bc2e8cd299281ea</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>[Bug #20886] Avoid double-free in regex timeout after stack_double (#12063)</title>
<updated>2024-11-12T17:04:21+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2024-11-12T17:04:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f4258aaed02ee7be761f2499b0b6243a8f37b7cb'/>
<id>f4258aaed02ee7be761f2499b0b6243a8f37b7cb</id>
<content type='text'>
Fix regex timeout double-free after stack_double

As of 10574857ce167869524b97ee862b610928f6272f, it's possible to crash
on a double free due to `stk_alloc` AKA `msa-&gt;stack_p` being freed
twice, once at the end of match_at and a second time in `FREE_MATCH_ARG`
in the parent caller.

Fixes [Bug #20886]</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix regex timeout double-free after stack_double

As of 10574857ce167869524b97ee862b610928f6272f, it's possible to crash
on a double free due to `stk_alloc` AKA `msa-&gt;stack_p` being freed
twice, once at the end of match_at and a second time in `FREE_MATCH_ARG`
in the parent caller.

Fixes [Bug #20886]</pre>
</div>
</content>
</entry>
<entry>
<title>Use `PRIuSIZE` instead of `%zu` for `size_t` (#9359)</title>
<updated>2024-09-24T17:50:33+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-09-24T17:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d8966416d010719ef8f1689137da31aa75e71198'/>
<id>d8966416d010719ef8f1689137da31aa75e71198</id>
<content type='text'>
Co-authored-by: Takashi Kokubun &lt;takashikkbn@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Takashi Kokubun &lt;takashikkbn@gmail.com&gt;</pre>
</div>
</content>
</entry>
</feed>
