shell: backends: telnet: init structure before first function call
Struct sh_telnet should be initialised before first function call.
Right now there is a possibility that telnet_accept function will
be called before memset.
Signed-off-by:
Wojciech Slenska <wsl@trackunit.com>
Loading
Please sign in to comment