]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Allocate new parser stack space from the heap if needed, eliminating the
authordrh <>
Sat, 27 Jan 2024 11:35:35 +0000 (11:35 +0000)
committerdrh <>
Sat, 27 Jan 2024 11:35:35 +0000 (11:35 +0000)
possibility of a "parser stack overflow" error as long as heap memory is
available.

FossilOrigin-Name: d87a2054774aa6ce54d9ccd78899b638f1eaf4f9a1d847bf22500018049c9f8d

1  2 
manifest
manifest.uuid

diff --cc manifest
index d546c7f2d503f217115d112ce61424457991a31e,a87dfc1f4e5d3cf95f52c55957fd691d66b15554..58d782416d1a8c7de6f5117e47eb07cfc9e5bee2
+++ b/manifest
@@@ -1,5 -1,5 +1,5 @@@
- C Add\sNEVER()\sto\sa\sbranch\sthat\sis\sno\slonger\sreachable.
- D 2024-01-24T21:08:57.555
 -C Optimizations\sto\sParseFinalize()\sto\smake\sup\sfor\sthe\sextra\scleanup\sassociated\nwith\sthe\sallocated\sparser\sstack.\s\sThis\sbranch\snow\sruns\sfaster\sthan\strunk\nand\sis\sless\sthan\s300\sbytes\slarger.
 -D 2024-01-27T02:21:25.832
++C Allocate\snew\sparser\sstack\sspace\sfrom\sthe\sheap\sif\sneeded,\seliminating\sthe\npossibility\sof\sa\s"parser\sstack\soverflow"\serror\sas\slong\sas\sheap\smemory\sis\navailable.
++D 2024-01-27T11:35:35.516
  F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
  F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
  F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
@@@ -2161,8 -2161,8 +2161,9 @@@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a9
  F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
  F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
  F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
- P 996cfdf9b5f70408faeaa68ba2ea9494e419be8f2c59d89ab702419056e3569c
- R cc29f59aa57a1c6bea20c14e055ec6a4
 -P 33f17ec24880937892d47a5a321c43785ca18e03dde28a9a0d50ae86edb29679
++P 9411337a7b3237366768fc708396da53d67a7a17b6cdc5c6f8932c5ab32217a9 f7290db63cc2568090c14dffc4ea4eadfacb5b94b50a1852ef6eefd9e2e32533
+ R 20cc75bdc335ec49c6e2f7e4614d84da
++T +closed f7290db63cc2568090c14dffc4ea4eadfacb5b94b50a1852ef6eefd9e2e32533
  U drh
- Z 22d3dca63255cbf92f3e39d6096754f7
 -Z 297b67eb6c1efaf54d4488f8dcd81ddc
++Z c2cb0e9c7b04a3911872c4a743c7e226
  # Remove this line to create a well-formed Fossil manifest.
diff --cc manifest.uuid
index 48c5e7a6daa8afeb04820f602fc45dbc419d9171,6f41fa279d8db32986b73e1a559ee85f238a5ef8..ae968423a21c05a6d2ee5db8cd156141bb7e6fd5
@@@ -1,1 -1,1 +1,1 @@@
- 9411337a7b3237366768fc708396da53d67a7a17b6cdc5c6f8932c5ab32217a9
 -f7290db63cc2568090c14dffc4ea4eadfacb5b94b50a1852ef6eefd9e2e32533
++d87a2054774aa6ce54d9ccd78899b638f1eaf4f9a1d847bf22500018049c9f8d