1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-02-27 02:45:03 -06:00
Simon Tatham 921613ff08 GUI PuTTY: fix format-string goof on connect failure.
Introduced by 61f3e3e29, as part of my periodic efforts to make the
GTK front end work usefully on OS X: the 'Unable to open connection to
[host]: [error]' message box is accidentally passed through two layers
of printf format-string parsing, the second of which has no argument
list. So if you pass in a host name like '%s' on the command line,
bad things will happen when that error message is constructed.

This happened because in that commit I changed a call to
fatal_message_box() into a call to connection_fatal(), without
noticing that the latter was printf-style variadic and the former
wasn't. On the plus side, that means now I can remove the explicit
dupprintf/free around the error message.
2019-07-10 20:47:09 +01:00
..
2019-05-05 20:43:16 +01:00
2018-12-01 17:04:44 +00:00
2018-12-01 17:04:44 +00:00
2019-03-31 10:35:10 +01:00
2019-05-05 10:14:24 +01:00
2019-05-05 20:28:00 +01:00
2019-05-08 08:28:02 +01:00
2019-05-05 10:14:24 +01:00