ZTree.com  | ZEN  | About...  

 Index   Back

[Bug] View, Gather, to File, crash   [Zeta]

By: Ben Kent       
Date: Nov 24,2020 at 09:32
In Response to: [Zeta] v2.4.197 Now Available! (Kim Henkel)

To crash ZTree do the following

View a text file
Enter to start selection
Down cursor, to extend selection
Enter to end selection

At the "Append marked text to file:" prompt, enter a file path that is quoted

Get this message
Error: [123] Invalid Name

Then ZTree just disapears, with this in the Evnetlog

Source: Application Error
EventID: 1000
Faulting application name: ZTW64.EXE, version:, time stamp: 0x5f398839
Faulting module name: ZTW64.EXE, version:, time stamp: 0x5f398839
Exception code: 0xc0000417
Fault offset: 0x00000000000dda70
Faulting process ID: 0x5e30
Faulting application start time: 0x01d6c2421c3037dc
Faulting application path: C:\Program Files\ZTree Windows\ZTW64.EXE
Faulting module path: C:\Program Files\ZTree Windows\ZTW64.EXE
Report ID: 7c51eb84-405c-4988-a506-4178d2c1ea4c
Faulting package full name:
Faulting package-relative application ID:

I had got the path from Windows Explorer, shift-RightClick, Copy as path.
Explorer probably added the quotes because the file name includes an ampersand "&".

I guess one or both of these will be needed.

Validate file path inputs to exclude invalid file path characters, like "<" less than, ">" greater than, "\"" quote, "|" pipe.
Support quoted file path inputs



Messages in this Thread

95,257 Postings in 12,014 Threads, 350 registered users, 80 users online (0 registered, 80 guests)
Index | Admin contact |   Forum Time: Jan 28, 2021 - 11:17 am UTC  |  Hits:37,070,310  (7,866 Today )
RSS Feed