It looks to me like the test in line 3512 of http://www.sqlite.org/src/annotate?filename=src/vdbeaux.c&checkin=8165f88bb1d40693 should use `szSpace - off` instead of +, because that's the remaining space after &pSpace[off] used in the else branch.
I am unsure about this because I would expect such a bug to be caught by tests or by users. But I was unable to persuade myself it's correct and a teammate familiar with SQLite code agrees that it looks wrong. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users