This is a problem in SQLite.  It is fixed there.  The fix in fossil is to
use the latest version of SQLite.

See for additional information.