[Bug] Helpfiles will loop endlessly if a number is input
< Newer Topic
:: Older Topic >
Pages:<< prev 1 next >>
#1 Apr 22, 2010 9:16 am
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006
Bug: Helpfiles will loop endlessly if a number is input
Danger: High - Crash Likely - Numbers are mishandled and lead to an infinite loop.
Found by: MagisterXero
Fixed by: Kayle
---
act_info.c
In get_help, Find:
Replace with:
Danger: High - Crash Likely - Numbers are mishandled and lead to an infinite loop.
Found by: MagisterXero
Fixed by: Kayle
---
act_info.c
In get_help, Find:
if( isdigit( argument[0] ) ) { lev = number_argument( argument, argnew ); argument = argnew; }
Replace with:
if( isdigit( argument[0] ) && !is_number( argument ) ) { lev = number_argument( argument, argnew ); argument = argnew; }
Pages:<< prev 1 next >>