Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.17.9
Error message:
Unzulässiger Zugriff auf einen Speicherbereich.
Stapelverfolgung:
(003553E0) System::Internal::Strhlpr::UnicodeAssign
(0008627F) ntdll.dll
(00072C01) ntdll.dll.KiUserExceptionDispatcher
(000B7BC5) System::Sysutils::EAccessViolation::EAccessViolation
(00DD8B2D) TEditorRichEdit::WMPaste
(00DD8C53) TEditorRichEdit::Dispatch
(0027ACF1) Vcl::Controls::TWinControl::WndProc
(0027A338) Vcl::Controls::TWinControl::MainWndProc
(003A5954) System::Classes::_18201
(0003DF59) USER32.dll
(00034EC5) USER32.dll
(00034AC5) USER32.dll
(0003868D) USER32.dll
(00072BBB) ntdll.dll.KiUserCallbackDispatcher
(000328EA) USER32.dll.SendMessageW
(001DE70C) Vcl::Stdctrls::TCustomEdit::PasteFromClipboard
(0023A02C) Vcl::Forms::TCustomForm::CMActionExecute
(00DDD49C) TEditorForm::Dispatch
(0027ACF1) Vcl::Controls::TWinControl::WndProc
(002351B8) Vcl::Forms::TCustomForm::WndProc
I know how to reproduce the problem or the problem happens frequently enough. I wish to be contacted by the WinSCP team to help resolving the problem.