My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 97: debug(variables) causes stackoverflow
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  virtix
Closed:  Mar 2008
Cc:  marc.es...@gmail.com


 
Project Member Reported by virtix, Mar 18, 2008
What steps will reproduce the problem?
1. Write a test
2. In test method execute debug(variables)

Note: occurs in plugin and extjs results

What is the expected output? 
cfdump of variables scope

What do you see instead?
RemoteException: coldfusion.xml.rpc.CFCInvocationException:
[java.lang.StackOverflowError : null] finished.

-----------

 I'll look at it as I wanted to fix a couple of other related items. 

-bill
Mar 24, 2008
Project Member #1 marc.es...@gmail.com
i don't know, dude. this strikes me as one of those "well if it hurts to punch
yourself in the face, don't punch yourself in the face" kind of things.  dumping the
entire variables scope?  jeeeeesh.... that's really asking for it, especially
considering there's bound to be at least a few non-simple datatypes in there, i.e.
object instances. 
Mar 24, 2008
Project Member #2 virtix
You may be right, but I don't think it has to do with the actual size of the
variables scope. What I think is happening may be something at the cf level and could
be fairly serious vulnerability. I think when you try to add a clone of the variables
scope to an array, which may also be in that same scope, you get a recursive nasty
thing ... adding variables to variables to variables ... and then you get some
semblance of a buffer or stack overflow ...
Jun 30, 2010
Project Member #3 virtix
older/outdated issues. archive in google docs. These are either Fixed, deprecated, or invalid

moving to Jira
Status: Fixed

Powered by Google Project Hosting