I have no problems at all with sqlite3_bind, but I understand that the sqlite3_result group of procedures is very similar to sqlite3_bind group.
In a UDF procedure (callback procedure in the ActiveX dll) I do things like this: sqlite3_result_text lPtr_ObjContext, VarPtr(arrBytes1(0)), lPos - 1, SQLITE_TRANSIENT where arrBytes1 is a local variable, a Byte array. This goes out of scope once the callback procedure finishes. Could that be a problem? RBS On Thu, Dec 24, 2015 at 10:17 PM, Simon Slavin <slavins at bigfraud.org> wrote: > > On 24 Dec 2015, at 9:10pm, Bart Smissaert <bart.smissaert at gmail.com> > wrote: > > > Given that I don't use theses it then likely that my problem is to do > with > > a buffer overwrite? > > You say you use sqlite3_bind(). See the details about the fifth parameter > in > > <https://www.sqlite.org/c3ref/bind_blob.html> > > A common mistake is to bind a string to a parameter then free the space > before SQLite is finished with it. This, of course, leads to OS errors. > > Simon. > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >