mIRC crash when parameter exceeds certain length - 16/08/05 12:48 PM
Tested for mIRC 6.16. For 6.15. it seems to act weird, it normally doesn't crash immediately, only after a few tries. However, once you've got it crashing once, it will keep crashing after that, atleast on my computer.
mIRC will crash instantly if you have anything as right parameter in a if/while condition that exceeds a certain length, which should be around 999 characters.
Try this on a seperate mIRC, because it will make it crash.
//if (. == $str(.,949) $str(.,50)) echo yes
If you change the second parameter of the second $str to 49, it will not crash.
Note that the char used in $str is irrelevant, as long as it is at 999 chars or more in the right parameter it crashes. The operator is of no relevance, it will happen with any operator.
Note that if the $str's are put on the left side of the condition, this does not happen.
//if ($str(.,940) $str(.,150) !isin .) echo yes, will work fine.
I don't know if this has been reported before, because frankly, I have no idea what search parameters to use for this. I've used "+crash", and that gave endless results, did not find any title that seemed related to this.
mIRC will crash instantly if you have anything as right parameter in a if/while condition that exceeds a certain length, which should be around 999 characters.
Try this on a seperate mIRC, because it will make it crash.
//if (. == $str(.,949) $str(.,50)) echo yes
If you change the second parameter of the second $str to 49, it will not crash.
Note that the char used in $str is irrelevant, as long as it is at 999 chars or more in the right parameter it crashes. The operator is of no relevance, it will happen with any operator.
Note that if the $str's are put on the left side of the condition, this does not happen.
//if ($str(.,940) $str(.,150) !isin .) echo yes, will work fine.
I don't know if this has been reported before, because frankly, I have no idea what search parameters to use for this. I've used "+crash", and that gave endless results, did not find any title that seemed related to this.