mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-09 23:28:06 -05:00
Forgot to initialise serial->bufsize to zero.
[originally from svn r6818]
This commit is contained in:
parent
3c04bd6b42
commit
8fe46f4b05
@ -217,6 +217,7 @@ static const char *serial_init(void *frontend_handle, void **backend_handle,
|
||||
serial = snew(struct serial_backend_data);
|
||||
serial->port = NULL;
|
||||
serial->out = serial->in = NULL;
|
||||
serial->bufsize = 0;
|
||||
*backend_handle = serial;
|
||||
|
||||
serial->frontend = frontend_handle;
|
||||
|
Loading…
x
Reference in New Issue
Block a user