1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00
Commit Graph

4802 Commits

Author SHA1 Message Date
Martin Prikryl
c595d52fb8 Issue 2457 – When selecting a site to perform a command-line operation with, it was possible to select a workspace or a folder, resulting in unexpected behaviour or failure
https://winscp.net/tracker/2457

Source commit: 4ba24fc7f915728e77c9ec86acceae1932dd58fd
2026-09-08 00:39:39 +02:00
Martin Prikryl
e9b1860006 Link updates
Source commit: d947e04bdfdcaec955178b255bad454e9e9fa84a
2026-09-03 16:40:56 +02:00
Martin Prikryl
917ea6e08f Bumping devel version to 6.6.4
Source commit: de023fc927e65f024ee7477da9663abe8c4d35b6
2026-09-03 16:36:29 +02:00
Martin Prikryl
0e7cea84e5 Loading package API (from 648b6c0a) dynamically to restore Windows 7 compatibility
Source commit: 8014fd3d5ddf35292cf1a0f6c0cfb4f07a563048
2026-09-03 00:34:41 +02:00
Martin Prikryl
d47792f01c Issue 2455 – Some strings use incorrect translation in 64-bit version
https://winscp.net/tracker/2455

Some related refactoring:
Refactoring php release script includes
Reusing complete_translations in copy_complete_translations.php
Removing obsolete maketran.bat hack

Source commit: 07476ec822e4bd7b8b1c65ceb9783b6d92f20489
2026-09-01 12:53:54 +02:00
Martin Prikryl
11ce2859c0 Links update
Source commit: a99ad766ce70165b2aa13cc27bb88f8bd4a57893
2026-09-01 12:52:09 +02:00
Martin Prikryl
d37ac4f3cb Updating project file to PuTTY 0.85
Source commit: cda428276d42fbcdebe6d6cbcf4f6c6e973f5c59
2026-08-26 16:08:26 +02:00
Martin Prikryl
0a91a3e4e3 Merge branch 'thirdparty'
# Conflicts:

#	source/putty/ssh/connection2.c

Source commit: 4413da04be2a27098da2488953e6e86301be66cd
2026-08-26 16:07:38 +02:00
Martin Prikryl
b3732d9b70 PuTTY 0.85
Source commit: c9fb0e3663609e43f0fc37e1e96e9f2177809f15
2026-08-26 16:06:53 +02:00
Martin Prikryl
184bda4bf7 Resetting differences to official PuTTY from afbcdcd1 that are not needed with Clang-based compiler
Source commit: aea5830a0db64b028ed6dd6328cbcb8f2d87baf8
2026-08-26 16:05:41 +02:00
Martin Prikryl
9d2ab68f0f Merge branch 'thirdparty_hotfix' into thirdparty
Source commit: 29cd13353b04e1e8333d6a4e5308ca72111e9029
2026-08-26 16:04:08 +02:00
Martin Prikryl
6f632e38a9 Merge branch 'hotfix'
Source commit: bb4d452ea03a6de19b972c809f65a4318955e559
2026-08-26 16:03:42 +02:00
Martin Prikryl
afbcdcd14b Updating PuTTY 0.85 fixes to bcc32
Source commit: 0fe575bc262df9e28a86ab8e0ba39163410e56b6
2026-08-26 00:47:07 +02:00
Martin Prikryl
fec8b0d00d Merge branch 'thirdparty_hotfix' into hotfix
# Conflicts:
#	source/putty/ssh/connection2.c

Source commit: b4afce76ac7977473f5f01de24061065eecc66f2
2026-08-26 00:46:09 +02:00
Simon Tatham
2b1419f914 Validate Argon2 parameters when loading a PPK file.
This prevents a couple of different possible crashes if a PPK file
constructed by something other than PuTTYgen contains invalid
parameters. If parallelism is 0 then the Argon2 code can divide by
zero; if the memory requirement is too small for the parallelism then
it can overrun a buffer.

Signed-off-by: Martin Prikryl <martin@winscp.net>

Source commit: e66db8e4bd600fd9d92467fb8b6cc31cd86fc0ad
2026-08-26 00:45:11 +02:00
Simon Tatham
f4157b1cd4 Reject remote max packet size 0 when opening channels.
This case led to a tight loop in ssh2_try_send, which would calculate
the largest size of data packet it could send on a channel as the min
of various things including the max packet size; find, of course, that
the largest size was therefore 0; send no data; and loop round again
to keep trying.

There's nothing you can sensibly do about that by the time you get to
ssh2_try_send, so a better response is to reject the connection at
open time.

When the connection is initiated from the far end (i.e. we receive
CHANNEL_OPEN) we can do this relatively nondestructively, by rejecting
just that one channel-open request. When it's initiated from our end,
and the CHANNEL_OPEN_CONFIRMATION we got back contained the zero
maxpkt, there's no similar protocol method for rejecting the
confirmation, so instead we disconnect the whole SSH session.

(That seems harsh, but I think it's reasonable, because one reason for
aborting an SSH connection is that you genuinely don't _know_ what
your client can legally do next – and this is exactly that situation.)

Signed-off-by: Martin Prikryl <martin@winscp.net>

Source commit: 5b7de97f5fcb3f4b957e9585ea15018831c8b547
2026-08-26 00:44:50 +02:00
Simon Tatham
28b3293ac1 Fix buffer overflow in ETM mode packet decode.
The space allocated for the decrypted packet was 4 bytes too small,
because we end up reading (s->packetlen + s->maclen) bytes into it,
but we allocated the buffer based on the largest possible size of
(s->len + s->maclen). The two differ by 4. So if a packet is within 4
bytes of the largest size accepted by the check of s->len against
OUR_V2_PACKETLIMIT, then it overruns the buffer allocated for the
following BPP_READ.

Thanks to Yukihiro Nakamura for spotting this.

Signed-off-by: Martin Prikryl <martin@winscp.net>

Source commit: dc1ea030899bc7ec7ed4388cfc01757c41816f0c
2026-08-26 00:44:30 +02:00
Martin Prikryl
af008086c7 Empty line
Source commit: d501e61140d4c41382648f65064e274d78737764
2026-08-26 00:42:27 +02:00
Martin Prikryl
fa93a30522 Typo in logging
Source commit: bf9cbf2d4816647d3efc2890d0c533f17d6a9248
2026-08-25 10:14:29 +02:00
Martin Prikryl
7221bf08e3 Bug fix: 64-bit build did not identify its system to be 64-bit, what among other prevented it from identifying 64-bit COM registrations
Source commit: dd523846faab989b5bc6d69066da6cde6daa5dbb
2026-08-21 16:10:16 +02:00
Martin Prikryl
1f8dc7a31e Some parts of GUI (panel headers, scrollbars, buttons, checkboxes) show in dark theme even when system-wide app theme is light + On Windows 11, using system dark tab theme, that uses different shades for active and disabled/disconnected tabs (Issue 2452)
https://winscp.net/tracker/2452

Source commit: ac0cd81a2b667fb01888cd9df7ff85232d39c489
2026-08-21 01:31:30 +02:00
Martin Prikryl
6f2c0027df Obvious Begin/End mismatch
No negative impact is know - the calls are not incremental. But it might have caused  some flicker.

Source commit: 4833f200de05da107b3486f5b43dd9475a75dc4f
2026-08-21 01:30:34 +02:00
Martin Prikryl
bda0528671 Obsolete comment
Source commit: 231272d9f89113899d279384afcc3c41dc14e10f
2026-08-21 01:29:37 +02:00
Martin Prikryl
c1e516f9de Issue 2453 – Some controls (notably list view headers) do not correctly apply dark mode in 64-bit build
https://winscp.net/tracker/2453

Source commit: b64ba629743f12512cb98c76bfb9c5bb03918b3d
2026-08-05 01:23:02 +02:00
Martin Prikryl
452b2f6b21 Thirdparty information from the About dialog can be copied to the clipboard even when the browser control malfunctions
Source commit: 98529694e74f3088e91d73d914f2719c05edcd9c
2026-08-05 01:19:57 +02:00
Martin Prikryl
96f98412ef Unused code
Source commit: ebb47cb12fae2abc34352dca7de0fa0b7c6d69c1
2026-08-05 01:17:54 +02:00
Martin Prikryl
e3cbbfdf00 Reusing method
(as was probably intended originally)

Source commit: 3f63d8a3aaa19d48168b2f2de4d03da612849336
2026-08-05 01:15:50 +02:00
Martin Prikryl
7458a02b23 Bug fix: Incorrect number validation
For example causes inability to add a location profile with name like "1M"

Source commit: 324abb63b5746414e990dd499fecb174c104545e
2026-08-02 13:17:50 +02:00
Martin Prikryl
12afd2dca4 Switching to SHGetKnownFolderPath API
Source commit: 238a0941721e97531504513efaeb74dae9b23584
2026-08-02 13:17:22 +02:00
Martin Prikryl
648b6c0a97 Resolving version of pwsh installed with MSIX
Source commit: c40566cc3ef7398359718b7a2cd50d709e844544
2026-07-24 17:20:41 +02:00
Martin Prikryl
b9307ef5f8 Link update
Source commit: 8c66ef0daac794fa894cd1eddad7362a4d271035
2026-07-10 08:13:03 +02:00
Martin Prikryl
a269e58826 Bug fix: x-name URL parameter was incorrectly decoded
Source commit: be5c17cde1f823e24389834032d88299366963e0
2026-06-26 01:02:43 +02:00
Martin Prikryl
4e322475f1 Bug fix: No error is shown when connection fails
Caused by Issue 2360 (4057c84b)

Source commit: 9457f3d6a205a1df42bcecdbbea18354be6e1a60
2026-06-26 01:00:40 +02:00
Martin Prikryl
39c95dc289 64-bit build is identified in version information
Source commit: a39a12d3ced2aa3d86b4a2c721df4444a0b03d57
2026-06-26 00:55:08 +02:00
Martin Prikryl
a477900efb Typo
Source commit: 50a2342afe19430d5badfa225fed9ec13df16f58
2026-06-25 10:50:26 +02:00
Martin Prikryl
57d0759657 Fixing accelerators
Source commit: eebf381ede2a63772d8454de6b0e783d1b4fe8d6
2026-06-22 16:42:12 +02:00
Martin Prikryl
771700f730 Accelerator
Source commit: a58f736b9656d907708842f8998e385bc7b780c5
2026-06-22 16:39:56 +02:00
Martin Prikryl
b2258c2662 Bumping devel version to 6.6.3
Source commit: 8c8e46d95716b87ca5d29d08b5dbd8d7c69cffed
2026-06-18 07:21:44 +02:00
Martin Prikryl
b1d9bbd248 Bumping .NET assembly and Console interface tool version numbers before 6.6.2 release as there were changes
Source commit: 4bfbc9d76cafc37eb8f1ddb137b333b48afe9ee6
2026-06-17 15:25:19 +02:00
Martin Prikryl
a9d963c876 Propagation strings for 6.6
Source commit: 7a19fc5aa98576db3077541573fb4b6cb20be457
2026-06-17 01:13:40 +02:00
Martin Prikryl
f3a6b8216f Showing JCL commit, as we are on unofficial version
Source commit: 91a85f820f9400c64cb67362b838726e691bab90
2026-06-17 01:09:19 +02:00
Martin Prikryl
97aeb37487 Merge branch 'thirdparty_dev' into dev
Source commit: 5aec3fcace5db65848c0fee51f1aa08bd3017a97
2026-06-17 01:05:25 +02:00
Martin Prikryl
ddb5169345 JCL 2.9.9331 (as of 9ad7db4, though the last affecting the included files is c669fd1)
Source commit: 9db09f5310783c27512d41d53bff85f9f0bfc63e
2026-06-17 01:02:07 +02:00
Martin Prikryl
b66c08b30a Issue 2450 – Slashes in filenames can cause path traversal when invalid filename characters replacement is disabled
https://winscp.net/tracker/2450

Source commit: dbf555cdba84101ff9a4e2e491544515a5a95b54
2026-06-16 00:50:07 +02:00
Martin Prikryl
927e5f538a Issue 2449 – Heap over-read via crafted encrypted filename
https://winscp.net/tracker/2449

Source commit: b3d37ef6d446a33900eb2ba2e911d1134c1bd312
2026-06-13 01:04:26 +02:00
Martin Prikryl
dc56db76b1 Issue 2447 – Do not allow WebDAV redirects to other hosts by default + Issue 2448 – Do not allow WebDAV redirects to an unencrypted URL by default
https://winscp.net/tracker/2447
https://winscp.net/tracker/2448

Source commit: c777084ca5737c4283f256eb8cdf5c2fec5902af
2026-06-13 01:00:40 +02:00
Martin Prikryl
09c66ce79d Comments copy-edit
Source commit: 9d5cce14b02c72f6ba5f52fbeb1b45ae1f0e1f33
2026-06-10 16:20:54 +02:00
Martin Prikryl
e500e57baa URI class
Source commit: baa68e01bcc829b3c66842aec637fe1b6febd48a
2026-06-10 16:13:11 +02:00
Martin Prikryl
1636165e08 Warning when pasting a session URL with unsafe settings
Source commit: a6a8ab80fab4384666d8f4835e7f5fefb91c4aa9
2026-06-10 16:10:38 +02:00
jeremydixon22
93cd106447 Avoid unnecessary fake clipboard path canonicalization (#63)
Check the generated fake directory name before comparing canonical paths in the clipboard fake-directory monitor callback. This keeps broad directory monitor notifications from touching unrelated paths.

Co-authored-by: jeremydixon22 <jeremydixon22@users.noreply.github.com>

https://winscp.net/tracker/2445
2026-06-10 15:38:25 +02:00