DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6506>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6506

XSLT VariableStack shift results in invalid pointer and crash

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From [EMAIL PROTECTED]  2002-02-18 21:53 -------
Your fix is fine, but I couldn't decide whether to use it, or go back to using 
a deque instead of a vector (which would ensure the pointer would remain 
valid).  In the end, I think it's better just to return an index into the stack 
from findEntry(), rather than a pointer, and avoid anything "tricky."

Interestingly, this bug was introduced in some optimization work, and has been 
there for a very long time.  A true edge-case, for sure...

Thanks for the report!

Reply via email to