]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Detect stack overflow in the parser and report an error. (CVS 3112)
authordrh <drh@noemail.net>
Mon, 27 Feb 2006 21:58:07 +0000 (21:58 +0000)
committerdrh <drh@noemail.net>
Mon, 27 Feb 2006 21:58:07 +0000 (21:58 +0000)
FossilOrigin-Name: bd2c38f4670d1243284f2431b5e0712a6d1de1d7

manifest
manifest.uuid
src/parse.y

index 4cce4fc9c845cc60b5020219422739d5ad13a63a..af95d761d21f7b1b38dc1026ee2ef855c2b877be 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Additional\scompiler\swarnings\ssuppressed.\s(CVS\s3111)
-D 2006-02-24T03:09:37
+C Detect\sstack\soverflow\sin\sthe\sparser\sand\sreport\san\serror.\s(CVS\s3112)
+D 2006-02-27T21:58:08
 F Makefile.in 5d8dff443383918b700e495de42ec65bc1c8865b
 F Makefile.linux-gcc 74ba0eadf88748a9ce3fd03d2a3ede2e6715baec
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -61,7 +61,7 @@ F src/os_win.c c67a2c46d929cf54c8f80ec5e6079cf684a141a9
 F src/os_win.h 41a946bea10f61c158ce8645e7646b29d44f122b
 F src/pager.c f65d0b05182ff6059e9566b2eed1ec5f0cddc2f6
 F src/pager.h 425a9e52d5404158de016799715cbc2c3d685178
-F src/parse.y 52b8cdcceeaef01283138de5541dcadd2eeff486
+F src/parse.y 969fa5ddf747ba1034c9960cce49610c4b3fa617
 F src/pragma.c 607b0f3b1916aa01918acd08499bd6ef21065c23
 F src/prepare.c cf0fc8ebaf94409955ecb09ffeb0099c9ef44693
 F src/printf.c cda33918f602ff20bfba3ceae642ac1ed8f476d6
@@ -354,7 +354,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl a99cf5f6d8bd4d5537584a2b342f0fb9fa601d8b
 F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
-P 4b22e4b847f8d5c29830baea541194ef3a0c4811
-R f5b7d68013d18e5a50ef6de23343b733
+P a359b1817e85a9c5f31085817ae70e3e0b8ac7a7
+R 9e1f3653271b124969ed2916a0c66ae2
 U drh
-Z 50c68272d78d2691ee80674d514a25a2
+Z b0010c3c2b756095a18a8f4b4a40541b
index 4af09287ab854b3369edc04e717751beceec4aff..84a6e606cc2cc97de665a567f6ddad52550b9b08 100644 (file)
@@ -1 +1 @@
-a359b1817e85a9c5f31085817ae70e3e0b8ac7a7
\ No newline at end of file
+bd2c38f4670d1243284f2431b5e0712a6d1de1d7
\ No newline at end of file
index 45f40b2edf714041c3c3bb96d7b5c947dc87f7ef..0c176b1f11538c93cbcc60a6018351dece4150b1 100644 (file)
@@ -14,7 +14,7 @@
 ** the parser.  Lemon will also generate a header file containing
 ** numeric codes for all of the tokens.
 **
-** @(#) $Id: parse.y,v 1.196 2006/02/24 02:53:50 drh Exp $
+** @(#) $Id: parse.y,v 1.197 2006/02/27 21:58:08 drh Exp $
 */
 
 // All token codes are small integers with #defines that begin with "TK_"
@@ -40,6 +40,9 @@
     }
   }
 }
+%stack_overflow {
+  sqlite3ErrorMsg(pParse, "parser stack overflow");
+}
 
 // The name of the generated procedure that implements the parser
 // is as follows: