The compiled-program size guard in add_opcode() only runs per opcode, but the bulk writers bypass it: character-class bodies via add_multi_byte_cclass() and add_bytes(), the class bitset via add_bitset(), and exact strings via add_compil...stanhu (Stan Hu)
The compiled-program bounds check added previously stops the regex compiler from emitting an oversized program, but the buffer macros themselves still did their size math in signed int. BBUF_WRITE() computed "int used = pos + (int)n", wh...stanhu (Stan Hu)
The compiled-program size guard in add_opcode() only runs per opcode, but the bulk writers bypass it: character-class bodies via add_multi_byte_cclass() and add_bytes(), the class bitset via add_bitset(), and exact strings via add_compil...stanhu (Stan Hu)
The compiled-program bounds check added previously stops the regex compiler from emitting an oversized program, but the buffer macros themselves still did their size math in signed int. BBUF_WRITE() computed "int used = pos + (int)n", wh...stanhu (Stan Hu)
The compiled-program size guard in add_opcode() only runs per opcode, but the bulk writers bypass it: character-class bodies via add_multi_byte_cclass() and add_bytes(), the class bitset via add_bitset(), and exact strings via add_compil...stanhu (Stan Hu)
The compiled-program bounds check added previously stops the regex compiler from emitting an oversized program, but the buffer macros themselves still did their size math in signed int. BBUF_WRITE() computed "int used = pos + (int)n", wh...stanhu (Stan Hu)
@ko1 @hsbt Would it be possible to backport https://github.com/ruby/ruby/pull/15840 to Ruby 3.3, 3.4, and 4.0? We're seeing a significant regression after upgrading to Ruby 3.2 where this contention causes Sidekiq worker threads to silen...stanhu (Stan Hu)
In OpenSSL <= 1.1.1, EVP_PKEY_get0() always returned a valid object, so a NULL check was not necessary. In OpenSSL 3.0, the function can return NULL (https://docs.openssl.org/3.0/man7/migration_guide/#deprecated-function-mappings), so gu...stanhu (Stan Hu)
> I am guessing it has something to do with a mac OS update where one or more developer tools need to be reinstalled (purely a guess). FYI, I think this was caused by a bug in Xcode 16.0. I filed a bug with Apple in September 2024 ent...stanhu (Stan Hu)