SQLite

Artifact [6ec5e901]
Login

Artifact 6ec5e901a4ad26ca6376188aa500fab9c6c754aa:

Ticket change [6ec5e901] - New ticket [0eb70d77] Invalid pointer passed to the authorizer callback. by drh 2013-05-06 13:03:05.
D 2013-05-06T13:03:05.087
J foundin 3.7.16.2
J icomment The\sUPDATE\sstatement\sin\sthe\sfollowing\scode\sreads\spast\sthe\send\sof\san\r\narray\sand\spasses\san\sinvalid\spointer\sto\sthe\sauthorizer\scallback:\r\n\r\n<blockquote><verbatim>\r\nCREATE\sTABLE\st1(a,b,c,d,e,f,g,h);\r\nUPDATE\st1\sSET\srowid=rowid+100;\r\n</verbatim></blockquote>\r\n\r\nThe\sproblem\scan\sbe\sseen\sby\srunning\sthe\sscript\sabove\sin\sthe\ssqlite3\scommand-line\r\nshell\susing\svalgrind.\s\sThis\sproblem\shas\sbeen\sin\sthe\scode\ssince\sversion\s2.7.6\r\ncirca\s2003-01-25\sand\sappears\sto\shave\sbeen\sadded\sby\scheck-in\r\n[45de93f913a18026a].\s\sThe\sproblem\shas\snot\sbeen\snoticed\sbefore\snow\sbecause\r\nit\sis\sobscure\sand\smostly\sharmless\s-\sunless\sthe\sauthorizer\sis\sused\son\san\sUPDATE\s\r\nstatement\sthat\schanges\sthe\sROWID\sthe\sworst\r\nthat\scan\shappen\sis\sa\ssingle\sread\spast\sthe\send\sof\san\sarray.
J login drh
J mimetype text/x-fossil-wiki
J severity Important
J status Open
J title Invalid\spointer\spassed\sto\sthe\sauthorizer\scallback
J type Code_Defect
K 0eb70d77cb05bb227203136b38199c957bb32e63
U drh
Z 88a279081cfa917433c71a5304d746a3