1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

We just got mailed a Dr Watson log which suggests I failed to

initialise term->paste_len during initialisation, and indeed looking
at the code confirms this. I'm puzzled as to why valgrind didn't
spot this in pterm, though, since it's all in cross-platform code!

[originally from svn r2494]
This commit is contained in:
Simon Tatham 2003-01-08 09:15:56 +00:00
parent 40493b20ea
commit 3d90359d10

View File

@ -320,6 +320,7 @@ Terminal *term_init(Config *mycfg, void *frontend)
strcpy(term->id_string, "\033[?6c");
term->last_blink = term->last_tblink = 0;
term->paste_buffer = NULL;
term->paste_len = 0;
term->last_paste = 0;
bufchain_init(&term->inbuf);
bufchain_init(&term->printer_buf);