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
---------------------------
+[8.50b2] Load/Save in "Find Files"->buffer ove
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
https://www.ghisler.com