CVS commit: pkgsrc/databases/ruby-sqlite3
"Takahiro Kambe" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: pkgsrc Committed By: taca Date: Wed Aug 12 04:44:16 UTC 2026 Modified Files: pkgsrc/databases/ruby-sqlite3: Makefile distinfo Log Message: databases/ruby-sqlite3: update to 2.9.6 2.9.6 (2026-08-11) Security / Stability * Fix a garbage collection bug where the argument array passed to a custom aggregate function's step was not visible to the GC, so arguments could be collected mid-conversion when the aggregate takes two or more arguments, corrupting the values passed to step or crashing the process. See GHSA-mwm8-39rw-8826 for more information. #733 @jeremy Fixed * Fix a leak where custom aggregate handler instances were never released, so a connection accumulated one instance per GROUP BY group per query for its lifetime. #722 @djmb * Fix GC compaction issues with custom functions, aggregates, collations, #trace and #authorizer=. These callbacks were registered with sqlite by passing a raw Ruby object pointer as user data; keeping the object reachable prevented collection but not relocation, after which sqlite held a stale address and the next call could raise NoMethodError, return a wrong result, or segfault. Affects applications that call GC.compact or run with GC.auto_compact = true. The equivalent issue in #busy_handler was fixed in #466. #723 @djmb * Fix the private methods Database#open_v2 and #open16 silently replacing a live connection and leaking the previous connection handle when invoked via send on an open database. They now raise SQLite3::Exception. #729 @flavorjones * Fix TEXT values containing an embedded NUL byte being truncated at the first NUL when passed as arguments to functions created with Database#define_function. #730 @flavorjones * Fix an exception raised inside a Database#define_function block leaving the connection's sqlite mutex held, which deadlocked any other thread that later used the connection. The exception now propagates to the caller and the connection remains usable. #731 @flavorjones * Database.new now raises ArgumentError when the filename or VFS name contains an embedded NUL byte (or an embedded 0x0000 code unit in a UTF-16 filename), instead of silently opening a path truncated at the NUL. #732 @flavorjones Improved * When Database.new fails to open the database file, the underlying sqlite3 connection handle is now closed immediately instead of waiting for the garbage collector to clean it up. #719 @katafrakt To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 pkgsrc/databases/ruby-sqlite3/Makefile cvs rdiff -u -r1.61 -r1.62 pkgsrc/databases/ruby-sqlite3/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
(unnamed)
(text/x-diff, 1.5 KB)
Modified files: Index: pkgsrc/databases/ruby-sqlite3/Makefile diff -u pkgsrc/databases/ruby-sqlite3/Makefile:1.100 pkgsrc/databases/ruby-sqlite3/Makefile:1.101 --- pkgsrc/databases/ruby-sqlite3/Makefile:1.100 Mon Jun 8 13:15:05 2026 +++ pkgsrc/databases/ruby-sqlite3/Makefile Wed Aug 12 04:44:16 2026 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.100 2026/06/08 13:15:05 taca Exp $ +# $NetBSD: Makefile,v 1.101 2026/08/12 04:44:16 taca Exp $ -DISTNAME= sqlite3-2.9.5 +DISTNAME= sqlite3-2.9.6 CATEGORIES= databases MAINTAINER= [email protected] Index: pkgsrc/databases/ruby-sqlite3/distinfo diff -u pkgsrc/databases/ruby-sqlite3/distinfo:1.61 pkgsrc/databases/ruby-sqlite3/distinfo:1.62 --- pkgsrc/databases/ruby-sqlite3/distinfo:1.61 Mon Jun 8 13:15:05 2026 +++ pkgsrc/databases/ruby-sqlite3/distinfo Wed Aug 12 04:44:16 2026 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.61 2026/06/08 13:15:05 taca Exp $ +$NetBSD: distinfo,v 1.62 2026/08/12 04:44:16 taca Exp $ -BLAKE2s (sqlite3-2.9.5.gem) = e3cfce8c32a1736c4ba9afb5e765cc4e5728799cea11af7ba842191282529588 -SHA512 (sqlite3-2.9.5.gem) = 22edb8122a69820d7a19da2136df91e13983e571d6ee48ff70d6d811094eda025fcbf7b02f46e0dbe813c6766fa44551af5d554c91b2af4d076555317225c792 -Size (sqlite3-2.9.5.gem) = 3347456 bytes +BLAKE2s (sqlite3-2.9.6.gem) = f7782509ae506f8c171e039946a0721d634f55db46fbdc82b857ff37f94f7075 +SHA512 (sqlite3-2.9.6.gem) = 817226e0b1bfa5e044d856e692ca2e8d959de6d079cc8b311727cf95c513877b8bb9b0d4354993f8e284fb5eda1411f32203019a8d83f2d15a23794d65271a4a +Size (sqlite3-2.9.6.gem) = 3350016 bytes