FTS5 crash with NULL in snippet() function's 5th parameter

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

FTS5 crash with NULL in snippet() function's 5th parameter

Tony Papadimitriou
(SQLite v3.21.0 with FTS5 enabled)

If instead of ‘’ (empty string) one uses NULL for the 5th parameter in the snippet() function it consistently crashes.

Thanks.
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: FTS5 crash with NULL in snippet() function's 5th parameter

Dan Kennedy-4
On 12/26/2017 03:16 AM, Tony Papadimitriou wrote:
> (SQLite v3.21.0 with FTS5 enabled)
>
> If instead of ‘’ (empty string) one uses NULL for the 5th parameter in the snippet() function it consistently crashes.

Thanks for reporting this. Now fixed (so that NULL is equivalent to an
empty string) here:

   http://www.sqlite.org/src/info/553a3ad32498ddda

Dan.


_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users