]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Detect an OOM condition in the realpath() function of the fileio.c extension
authordrh <>
Wed, 10 Jun 2026 10:40:29 +0000 (10:40 +0000)
committerdrh <>
Wed, 10 Jun 2026 10:40:29 +0000 (10:40 +0000)
commit49edbe2150d3ae1267f0bdd64887d8b8d63487cc
treed24023e7ae1b2235c3136ee958c72959736595b7
parent062016c2fd1d2a9fe1f2e97e8a5995c94d18bccb
Detect an OOM condition in the realpath() function of the fileio.c extension
and cause that function to return NULL.  To Do:  we should go back in and
fix realpath() to raise an SQLITE_NOMEM error on OOM rather than returning
NULL.  But we will delay that, in as much as OOMs are all but impossible
on modern OSes.
[bug:/info/2026-06-10T07:46:32Z|Bug 2026-06-10T07:46:32Z].

FossilOrigin-Name: 8b961dc3d27c5aa62a5dc7c2e44f8b505817e184f8499f3bb903e06b5aec1b72
ext/misc/fileio.c
manifest
manifest.uuid