<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/include/ruby/internal/memory.h, branch v3_0_4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>merge revision(s) 29f6f79e7396018962eb25c5f5e409f5fe28a73b: [Backport #17788] [Backport #18574]</title>
<updated>2022-03-13T06:20:35+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2022-03-13T06:20:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2bb5fa495bf9d366d3c1fefc6b093dc4830f27bf'/>
<id>2bb5fa495bf9d366d3c1fefc6b093dc4830f27bf</id>
<content type='text'>
	Get `ruby_nonempty_memcpy` to have C linkage

	Fixes [Bug #17788]
	---
	 include/ruby/internal/memory.h | 2 ++
	 1 file changed, 2 insertions(+)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Get `ruby_nonempty_memcpy` to have C linkage

	Fixes [Bug #17788]
	---
	 include/ruby/internal/memory.h | 2 ++
	 1 file changed, 2 insertions(+)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) bcc2bb28b04054106f4a36e8fd69b2af6ecb033a: [Backport #18500]</title>
<updated>2022-03-12T07:36:40+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2022-03-12T07:36:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bac99c5175bf58815846f9987093a6d944d07fd3'/>
<id>bac99c5175bf58815846f9987093a6d944d07fd3</id>
<content type='text'>
	Fix stack buffer overflow

	https://hackerone.com/reports/1306859
	---
	 include/ruby/internal/memory.h | 6 +++---
	 random.c                       | 7 ++-----
	 2 files changed, 5 insertions(+), 8 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix stack buffer overflow

	https://hackerone.com/reports/1306859
	---
	 include/ruby/internal/memory.h | 6 +++---
	 random.c                       | 7 ++-----
	 2 files changed, 5 insertions(+), 8 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed dangling imemo_tmpbuf</title>
<updated>2021-01-13T08:07:17+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-01-02T03:11:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5b2a0fc682ce69e2b95532ce1116dcb32e6aa011'/>
<id>5b2a0fc682ce69e2b95532ce1116dcb32e6aa011</id>
<content type='text'>
The count of rb_alloc_tmp_buffer_with_count is the allocation size
counted in VALUE size but not in the requested element size.

Co-authored-by: Yusuke Endoh &lt;mame@ruby-lang.org&gt;
Co-authored-by: Koichi Sasada &lt;ko1@atdot.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The count of rb_alloc_tmp_buffer_with_count is the allocation size
counted in VALUE size but not in the requested element size.

Co-authored-by: Yusuke Endoh &lt;mame@ruby-lang.org&gt;
Co-authored-by: Koichi Sasada &lt;ko1@atdot.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ALLOCA_N: do not use RUBY_ALIGNOF</title>
<updated>2020-09-25T02:38:33+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2020-09-23T04:30:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=873fb1aa4cab7a14f2b38a05f5888c111ea3bc69'/>
<id>873fb1aa4cab7a14f2b38a05f5888c111ea3bc69</id>
<content type='text'>
Now that RUBY_ALIGNOF behaves like C11's _Alignof.  This is not
necessarily the best stack arrangement.  We can just give up using
__builtin_alloca_with_align(), and let alloca choose what is optimal.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that RUBY_ALIGNOF behaves like C11's _Alignof.  This is not
necessarily the best stack arrangement.  We can just give up using
__builtin_alloca_with_align(), and let alloca choose what is optimal.
</pre>
</div>
</content>
</entry>
<entry>
<title>Get rid of redefinition of memcpy on mingw</title>
<updated>2020-05-26T07:58:40+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-05-26T05:19:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=17d17de0e8891bba2ab509714fc52764eaeafd65'/>
<id>17d17de0e8891bba2ab509714fc52764eaeafd65</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sed -i 's|ruby/impl|ruby/internal|'</title>
<updated>2020-05-11T00:24:08+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2020-05-08T09:31:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9e41a75255d15765648279629fd3134cae076398'/>
<id>9e41a75255d15765648279629fd3134cae076398</id>
<content type='text'>
To fix build failures.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To fix build failures.
</pre>
</div>
</content>
</entry>
<entry>
<title>mv include/ruby/{impl,internal}</title>
<updated>2020-05-11T00:24:08+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2020-05-08T09:10:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b85fd1d690b65efaa126cf9c24da73f31eee7a4e'/>
<id>b85fd1d690b65efaa126cf9c24da73f31eee7a4e</id>
<content type='text'>
Devs do not love "impl".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Devs do not love "impl".
</pre>
</div>
</content>
</entry>
</feed>
