Crash if dialog.Show is given wrong argument
Case number: | 845829-994346 |
Topic: | Crash/Hang |
Opened by: | truestone |
Status: | Open |
Type: | Bug |
Opened on: | Friday, January 18, 2013 - 19:14 |
Last modified: | Thursday, January 24, 2013 - 20:31 |
The program aborts when dialog.Show is accidentally passed a table value that is not a dialog. For instance this LuaV2 recipe crashes the program:
dialog.Show({})
»
Wed, 01/23/2013 - 04:30
#2
If you fix this one, you should fix all of the dialog functions and error() which all crash the client if the arguments are the wrong type.
Thu, 01/24/2013 - 20:31
#3
Well, I'll consider myself lucky then that is was the first time I crashed foldit due to a script error. Type errors such as passing nil (i.e. a mistype variable name) seem to be cleanly intercepted.
Wed, 01/23/2013 - 17:40
#4
Thanks, brow42. We are looking into it.
Thank you for your report, truestone. We are working on getting this resolved presently.