[strongSwan-dev] [PATCH] fixed use of stack local variable outside of function scope

Thomas Egerer thomas.egerer at secunet.com
Wed Mar 31 17:27:32 CEST 2010


Martin Willi schrobtete:
>> -       static char buf[32];
> 
> Using a static buffer should be fine in a non-threaded/non-reentrant
> application such as starter (but I don't like it, either).
You're right, I must have overlooked the static. That's why the compiler
didn't issue a warning...

Regards
Thomas




More information about the Dev mailing list