+[8.50b2] Load/Save in "Find Files"->buffer ove

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
ferhat
Junior Member
Junior Member
Posts: 54
Joined: 2013-09-03, 06:29 UTC

+[8.50b2] Load/Save in "Find Files"->buffer ove

Post by *ferhat »

I have done a second border check and found a buffer overrun. A bad memory location is currently accessed while getting the template name.

My Environment:
-------------------
WinXP 32Bit SP3

Steps to reproduce:
-----------------------
1) Start TCMD
2) Open "Search" or "Search in separate Process"
3) Switch to Load/Save tab
4) Click on Save
5) Enter a template name longer than 248 characters e.g. "AAAA..."
6) Click OK

observed behavior:
-----------------------------
An access violation occurs.


---------------------------
Total Commander 8.50b1
---------------------------
Access violation at address 00403721. Read of address 0000006B.
Access violation at address 00403721. Read of address 0000006B
Windows XP SP3 5.1 (Build 2600)

Please report this error to the Author, with a description
of what you were doing when this error occurred!

Windows exception: C0000005
Stack trace:
00403721
58D2B7 58DA7C 44600C 435F82 445ED5 4474A9
445E13 4481DA 447E26 >425340 4473E7 425340
447355 425340 4474A9 447E26 425340 4473E7
425340 42A9FC 42AA98 580CF7 54A19B 65AB5C
65CEAF 42D7CE 445ED5 447E26 425340 4473E7
425340 42A9FC 42AA98 6F7833
Raw:
40387D 58D2B7 540002 446D1C 446D5B 446E2A
446E46 446E8D 43750A 445ED5 4480F5 43728E
447E32 447E49 425340 44819F 44877D 445ED5
4480F5 43728E 447E32 447E49 425340 6275CE
446D1C 446D5B 446E2A 446E46 446E8D 43750A
445ED5 4480F5 43728E 447E32 447E49 425340
46005A 6C005F 680061 650061 44819F 44877D
445ED5 4480F5 43728E 447E32 447E49 425340
4480F5 445E1F 4481DA 448E03 445ED5 4480F5
425340 57005A 4407B0 4407B0 4407B0 4407B0

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Ja Nein
---------------------------
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check it, thanks.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5810
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

Confirmed using TC 8.50 beta 2 32 bit.

Also confirmed that title bar of AV error shows wrong version "Total Commander 8.50b1".

Tested OK using beta 3 and beta 5.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks! Since you are a reliable tester, I will move all the bugfixes verified by you to "fixed bugs" too.
Author of Total Commander
https://www.ghisler.com
Post Reply