|
The Raven Magician
Joined: 13 Oct 2000 Posts: 463
|
Posted: Wed Nov 15, 2006 11:25 pm
[1.15] #ECHOing an undefined $var Crashes |
Reproduce:
Create an alias called TestCrash. Put this in the contents:
#IF (1) {$undefined=Test}
#ECHO $undefined
If you execute this alias, CMud crashes. Now, the alias is wrong ($undefined is created inside the #IF, and so is not visible from out in the main alias block), but CMud should not crash if it is executed. It should popup the 'bad script' window or something. |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Thu Nov 16, 2006 12:05 am |
Confirmed.
One thing to note however if you go to the Compiled Code tab, it shows the script does not compile because of an undefined local variable. |
|
_________________ Asati di tempari! |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Nov 20, 2006 3:09 pm |
Added to bug list.
|
|
|
|
|
|