Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

Latest revisions

# Date Author Comment
c568944b 04/20/2026 12:56 PM samyron (Scott Myron)

[ruby/json] Force ensure_valid_encoding to be inlined.

And move the encoding convertion logic in another function with NOINLINE.

The overwelming majority of strings are correctly encoded, so we
want to inline the very cheap check, however we don't want to...

1dcb7acb 04/20/2026 10:31 AM ndossche

[ruby/openssl] x509store, ssl: check for error of CRYPTO_set_ex_data()

This can technically fail because it internally performs allocations.
Also confirmed by the man page [1].

[1] (among other functions on this page) https://docs.openssl.org/3.5/man3/BIO_get_ex_new_index...

b4c8c8a6 04/20/2026 10:04 AM ndossche

[ruby/openssl] pkcs7: fix error check of PKCS7_RECIP_INFO_set()

This function actually returns a value <=0 on error, but it is not
documented as such.
Example from OpenSSL code [1] and implementation [2] indicate as such.

[1] https://github.com/openssl/openssl/blob/4b8ddae690d6449005e474bfdfe73106d4d6c5ea/crypto/pkcs7/pk7_lib.c#L578...

83b7a4d9 04/20/2026 09:55 AM ndossche

[ruby/openssl] x509cert: check for error of X509_set_serialNumber()

This function may return 0 on error [1].

[1] https://manpages.debian.org/stretch/libssl-doc/X509_set_serialNumber.3ssl.en.html

https://github.com/ruby/openssl/commit/c6caa4f1c1

359f671f 04/20/2026 09:44 AM ndossche

[ruby/openssl] x509name: check for error of X509_NAME_cmp()

These functions may return -2 to indicate an error according to the
manual [1]. This can also be confirmed when looking at the code as it
may call into i2d_X509_NAME() which can fail [2].
In such cases, the failure is reinterpreted as a "less than" comparison...

cf25b0bd 04/20/2026 07:26 AM git[bot]

[DOC] Update bundled gems list at 35e7f2c2f4840de027e5ebb6e7a5f9

35e7f2c2 04/20/2026 02:31 AM dependabot[bot]

Bump the github-actions group across 1 directory with 2 updates

Bumps the github-actions group with 2 updates in the / directory: msys2/setup-msys2 and taiki-e/install-action....

f45bb9ba 04/20/2026 02:09 AM hsbt (Hiroshi SHIBATA)

Force binary encoding before matching in source_encoding_spec

After the syntax_suggest sync at 23ea206a58d, raw source bytes leak
into SyntaxError output, which breaks the regex match on CI machines
running under LC_ALL=C where ruby_exe returns a US-ASCII string....

6e9ad14d 04/20/2026 01:15 AM hsbt (Hiroshi SHIBATA)

Make NEWS.md release-link footer idempotent

Seed available_footnotes from the existing release-tag link defs in the
file before overlaying freshly fetched URLs, so gems whose Octokit
fetches are skipped this run keep their URLs instead of being stranded
at their old positions. With every used ref backed by a footnote, the...

7ecca26f 04/20/2026 12:23 AM Augustin Gottlieb

[Tests] Add test cases for String#getbyte and String#setbyte

Cover behavior documented in rdoc but not asserted in test/ruby/test_string.rb:

  • getbyte: negative index, out-of-range (positive and negative), empty string.
  • setbyte: return value, negative index, out-of-range (positive and negative),...

View all revisions | View revisions

Also available in: Atom