]> git.ipfire.org Git - thirdparty/sqlite.git/commit
If the filename argument to sqlite3_load_extension() is an empty string, then
authordrh <>
Thu, 1 Jun 2023 16:40:28 +0000 (16:40 +0000)
committerdrh <>
Thu, 1 Jun 2023 16:40:28 +0000 (16:40 +0000)
commit39a7a1a9bed4f8dd5aee65bd8e1f7ecbd466e4ba
tree3ae842dd29f6e71ae79c7e96f9f4c2de0fe0f3a2
parentf96148c4c601afc4d798a046d116a258ef1bdd75
If the filename argument to sqlite3_load_extension() is an empty string, then
raise an error.  It turns out that if dlopen() is called with an empty
filename, it tries to load the current executable.  And then if the caller
requests some other function from the current executable, mischief can result.

FossilOrigin-Name: d01688554715eb4aaa1b1fd1a6b660b84e930edb0e062156ecf5228ee81ca754
manifest
manifest.uuid
src/loadext.c