Menu

#1 eval_hooks generates seg fault

open
nobody
None
5
2002-04-03
2002-04-03
Frank Motta
No

eval_hooks generates seg fault due to array overrun
I hadn't gone too deep as to 'fix' the problem I just
created the following 'bad hack' as a work around

after line ~244 in tsh.c where i++ is
// FJM bad hack
if (hook_type > EXP_HOOKS && i == 3) break;
if (hook_type <= EXP_HOOKS && i == 2) break;

Discussion


Log in to post a comment.