-
December 6th, 2017, 04:35 #1
Archangel
- Join Date
- Apr 2008
- Location
- Virginia Beach
- Posts
- 3,096
Crash Bug in StringManager.evalDiceMathExpression
While testing edge cases in my extension, I discovered that if you call StringManager.evalDiceMathExpression as follows that FG will fatally crash:
Code:ocal sTest="1"; local nResult=StringManager.evalDiceMathExpression(sTest);
Code:local nResult; if StringManager.isNumberString(sTest) then nResult=tonumber(sTest); else nResult=StringManager.evalDiceMathExpression(sTest); end
-
December 13th, 2017, 22:20 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,561
Thanks for reporting. I've marked this one to address in the next version.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks