aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <>2023-06-01 16:40:28 +0000
committerdrh <>2023-06-01 16:40:28 +0000
commit39a7a1a9bed4f8dd5aee65bd8e1f7ecbd466e4ba (patch)
tree3ae842dd29f6e71ae79c7e96f9f4c2de0fe0f3a2 /src/expr.c
parentf96148c4c601afc4d798a046d116a258ef1bdd75 (diff)
downloadsqlite-39a7a1a9bed4f8dd5aee65bd8e1f7ecbd466e4ba.tar.gz
sqlite-39a7a1a9bed4f8dd5aee65bd8e1f7ecbd466e4ba.zip
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
Diffstat (limited to 'src/expr.c')
0 files changed, 0 insertions, 0 deletions