static h in detect_attack()

Amandeep Singh aman_57 at
Thu May 16 06:45:41 EST 2002

Hi All,

Did anybody ever had problems created by static h in function 
detect_attack() in deattack.c? In our system which is based on pSOS OS, this 
static h is causing a crash, because after closing first ssh session, it 
pSOS system is allocating same memory to another ssh session and this static 
h is overwriting that memory.

I would appreciate if you know why h is statically allocated. detect_attack 
is used to check crc32 compensation attack.

Send and receive Hotmail on your mobile device:

More information about the openssh-unix-dev mailing list