ORA-XQ-154-B: pushes that are never popped risk stack overflow

SECTION A.2.2: lexical rules

DEFAULT state table, fifth row, recognizes 
<"declare" "variable" "$">, changes state to VARNAME and 
pushes DEFAULT state on the stack.  In state VARNAME, 
after passing over comments, pragmas and must-knows, it
transitions to OPERATOR state.  The OPERATOR state table 
only does a popState() for input "}".  There are many
instances in which a variable name will not be followed by "}".
It is not evident that the DEFAULT state pushed on the stack will ever be popped.
Stack overflow appears to be a real danger.

- Steve B.

Received on Monday, 16 February 2004 16:34:04 UTC