1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 18:07:59 +00:00
Commit Graph

2841 Commits

Author SHA1 Message Date
Simon Tatham
eac718ee1b Adam D Ligas's segfault: one form of connection closure was failing
to set SSH_STATE_CLOSED, causing subsequent resize events to go foom.

[originally from svn r844]
2001-01-07 17:18:12 +00:00
Simon Tatham
1f22416c3c Oops - that do-we-need-to-resize-window check failed to spot font changes
[originally from svn r843]
2001-01-07 16:38:35 +00:00
Simon Tatham
175d849778 Fix the System Caret so it really is invisible, and the right size
too.

[originally from svn r842]
2001-01-07 16:35:44 +00:00
Simon Tatham
f2b13650c8 `Change Settings' now behaves sensibly w.r.t. window size.
[originally from svn r841]
2001-01-07 16:27:48 +00:00
Simon Tatham
fc478e6cad Turn a rogue malloc to smalloc
[originally from svn r840]
2001-01-07 15:27:19 +00:00
Simon Tatham
5a908bb1d7 Apply `getservbyname' to the Port Number field in case it's
non-numeric. Patch due to Christian Biesinger.

[originally from svn r839]
2001-01-07 15:12:20 +00:00
Simon Tatham
a24c502f4f AltGr should now work again even when Compose key disabled
[originally from svn r838]
2001-01-07 14:30:00 +00:00
Simon Tatham
93004c40ad Make the colour list failsafe. Patch due to Robert de Bath
[originally from svn r837]
2001-01-07 13:39:31 +00:00
Simon Tatham
826a464682 Patch from Christian Biesinger: pscp guesses your Windows username by default
[originally from svn r836]
2001-01-07 13:31:49 +00:00
Simon Tatham
d3f120884c Apply improved WinSock error handling to the few situations it still
hadn't been applied to.

[originally from svn r827]
2000-12-18 09:20:26 +00:00
Simon Tatham
7a580aa4d8 Attempt to get repeated key exchange working in SSH2. Still under
test - might not be 100%. I think it _ought_ to work though.

[originally from svn r826]
2000-12-18 09:20:08 +00:00
Simon Tatham
e89704fa9a Remove unnecessary printfs from Minefield
[originally from svn r822]
2000-12-12 14:04:43 +00:00
Simon Tatham
c34ff1bcbf Fix an intermittent segfault that prevented the new Zlib compression
from being very useful. (Thanks to Minefield for catching it.)

[originally from svn r820]
2000-12-12 11:07:59 +00:00
Simon Tatham
ddd12b3e6c Added Minefield: an alternative memory allocator along the lines of
Electric Fence. Enable by compiling with /DMINEFIELD.

[originally from svn r819]
2000-12-12 10:57:34 +00:00
Simon Tatham
d5240d4157 Make memory management uniform: _everything_ now goes through the
smalloc() macros and thence to the safemalloc() functions in misc.c.
This should allow me to plug in a debugging allocator and track
memory leaks and segfaults and things.

[originally from svn r818]
2000-12-12 10:33:13 +00:00
Simon Tatham
8eca227b92 Improve SSH2 host key abstraction into a generic `signing key'
abstraction, so as to be able to re-use the same abstraction for
user authentication keys and probably in the SSH2 agent (when that
happens) as well.

[originally from svn r815]
2000-12-02 12:48:15 +00:00
Simon Tatham
6bdd92be5f Fix bugtraq 1949: server could open an agent forwarding channel even
if agent forwarding had not been negotiated on, and more
particularly even if it had been deliberately disabled by the user.

[originally from svn r814]
2000-12-02 11:43:25 +00:00
Simon Tatham
b9c07ac266 Prevent wildcards in source specs from matching . or ..
[originally from svn r813]
2000-11-30 21:35:28 +00:00
Simon Tatham
d75f3687fb Correct pointer types in new clipme function
[originally from svn r812]
2000-11-24 22:27:51 +00:00
Simon Tatham
9147f68fb6 Ron Kuris's "copy everything to clipboard" patch
[originally from svn r808]
2000-11-21 19:28:25 +00:00
Simon Tatham
f7aec0aa10 Patch from Robert de Bath: increase timer resolution.
[originally from svn r807]
2000-11-21 19:00:32 +00:00
Simon Tatham
7a3c5f57b5 Patch from Robert de Bath: blank the saved-session name edit box
when loading `Default Settings'.

[originally from svn r806]
2000-11-21 19:00:11 +00:00
Simon Tatham
664de6a1a8 Oops - and if we generate link maps, "make clean" should remove them too
[originally from svn r805]
2000-11-21 11:14:57 +00:00
Simon Tatham
f2d5eb542a Add link map files to Makefile, in case people send crash dumps
[originally from svn r804]
2000-11-21 11:13:27 +00:00
Simon Tatham
d094883d3c Fix segfault when you press a key before the SSH protocol decides whether
it's doing SSH1 or SSH2. Only visible on slow servers :-)

[originally from svn r803]
2000-11-21 10:53:10 +00:00
Simon Tatham
0ff0fad344 Improve comment so I don't misunderstand when I come back to this :-)
[originally from svn r802]
2000-11-16 10:47:59 +00:00
Simon Tatham
7ac98ae071 Use a Miller-Rabin test instead of a Fermat test; add comments
[originally from svn r801]
2000-11-15 15:03:17 +00:00
Simon Tatham
694fd2eedf Fix another silly segfault
[originally from svn r800]
2000-11-15 11:13:22 +00:00
Simon Tatham
8c0c31a0e9 Software invocation of the System menu now pops up the actual menu, rather
than just putting the window into the state where Down will do so

[originally from svn r793]
2000-11-07 17:50:59 +00:00
Simon Tatham
462063cdc5 Implement Zlib compression, in both SSH1 and SSH2.
[originally from svn r792]
2000-11-01 21:34:21 +00:00
Simon Tatham
84077ea5ee Move dprintf and the debug system out into misc.c, to centralise it.
Saves binary space and also allows redirection of debug statements
to a file `debug.log'.

[originally from svn r791]
2000-11-01 19:54:46 +00:00
Simon Tatham
6928fbb1e3 Back off a bit of that vulnerability fix, which was breaking `pscp
host:wildcard* .' and suchlike.

[originally from svn r790]
2000-10-31 09:29:05 +00:00
Simon Tatham
a739876719 Fix side-effect of Always On Top patch: any reconfiguring in mid-session
was zapping the window to the top left corner of the screen

[originally from svn r780]
2000-10-30 10:39:10 +00:00
Simon Tatham
21299d2c39 Reset compose state to zero when PuTTY window gains focus
[originally from svn r779]
2000-10-30 10:16:32 +00:00
Simon Tatham
2cc663cafb Couple of fixes for pscp's GUI interface mode
[originally from svn r778]
2000-10-30 09:54:10 +00:00
Simon Tatham
091acb4e06 Add support for Always On Top. Patch due to Janes "Ender" Brown.
[originally from svn r773]
2000-10-27 09:46:04 +00:00
Simon Tatham
696400a672 Stop the "Sent username %s" message coming up twice in pscp -v
[originally from svn r772]
2000-10-27 09:24:32 +00:00
Simon Tatham
2c9c817895 Misc bugfixes
[originally from svn r771]
2000-10-27 09:17:19 +00:00
Simon Tatham
eab981fbd1 Format SSH2_MSG_DISCONNECT correctly (with reason code, reason
string, and language tag).

[originally from svn r770]
2000-10-26 13:10:47 +00:00
Simon Tatham
8fff1e4821 Fix a segfault (addr->error was unpredictable following a dotted-dec lookup)
[originally from svn r768]
2000-10-26 08:25:43 +00:00
Simon Tatham
5f73cf092f Impose a lower limit of 256 on key lengths. This is mostly because
the primegen() function doesn't work well with <100 bits, so RSA
keys need to be >=200 to be generated correctly, and I thought 256
was a nice round number beyond that just to be sure. Perhaps I
should also have a security warning on any key less than 768; or
perhaps I should let people shoot themselves in the feet if they
really want to.

[originally from svn r767]
2000-10-25 14:29:28 +00:00
Simon Tatham
fc63ad0046 Gaaah, I might have known. Split combined app cursor / app keypad
disablement option into two options so the app cursor keys and app
keypad can be controlled separately. The Pedantic Software Award in
this case goes to the Midnight Commander for its egregious failure
to just use the terminal in Perfectly Normal mode.

[originally from svn r766]
2000-10-25 14:20:47 +00:00
Simon Tatham
4aafc6e5c3 Be more sure that state->collecting_entropy can't be spuriously set
[originally from svn r765]
2000-10-25 10:25:10 +00:00
Simon Tatham
9e6dc1faa1 Fix control ID bug causing rogue Appearance title bars in other panels
[originally from svn r764]
2000-10-25 08:23:41 +00:00
Simon Tatham
f9cf0d70b7 Reintroduce random_stir()
[originally from svn r763]
2000-10-25 06:59:25 +00:00
Simon Tatham
38e7de3372 Enhance Diffie-Hellman implementation to use bignum_cmp
[originally from svn r762]
2000-10-25 06:57:36 +00:00
Simon Tatham
809bd81d5c Fix another bignum formatting problem. This one hit Diffie-Hellmann
[originally from svn r761]
2000-10-24 21:43:39 +00:00
Simon Tatham
fc9b38ed01 Add configurable option to disable application keypad/cursor keys totally
[originally from svn r760]
2000-10-24 13:49:23 +00:00
Simon Tatham
779069ccd3 Add a couple of ellipses in system menu
[originally from svn r759]
2000-10-24 13:40:19 +00:00
Simon Tatham
8f7a1e30f7 Remove a rogue diagnostic
[originally from svn r758]
2000-10-24 13:39:21 +00:00