Memory access error with Japanese text-entry in built-in editor

Advertisement

Chris Williams
Guest

Memory access error with Japanese text-entry in built-in editor

I have been using version 3.6.5 of WinSCP.

Periodically, when typing Japanese in the text editor the application will crash with multiple memory access error popups.

When it does not crash, I can write and save the text successfully so it seems it's fundamentally able to handle Japanese text. Perhaps you are only allocating enough room for ascii strings but checking your buffer based on the character count assuming single-byte characters?

Either way, great application!

Thank you,
Chris Williams

Reply with quote

Advertisement

Chris Williams
Guest

The internal editor. External editors (notepad, Visual Studio, etc.) work without issue--it's just faster to edit in the internal editor.

-Chris

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Chris Williams wrote:

The internal editor. External editors (notepad, Visual Studio, etc.) work without issue--it's just faster to edit in the internal editor.

-Chris
Unfortunatelly I haven't made the editor. Is is component of Borland's VCL library. So I do not know how it works and I do not dare to make modifications into it. I'll try to look for some patch.

Reply with quote

Advertisement

You can post new topics in this forum