How to fix the CVE from integrated upstream sqlite 3.30.1

thanks for reply! @sjlombardo
because of the different baseline, i failed to modify the source code according the patch published in sqlite offical web. it appeared some compile error like some macro undeclared. Does any guide for patching ? I would appreciate it if you could provide.