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
[G]ather
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
Enter

Get this message
Error: [123] Invalid Name

Then ZTree just disapears, with this in the Evnetlog

Source: Application Error
EventID: 1000
Description:
---
Faulting application name: ZTW64.EXE, version: 2.4.197.0, time stamp: 0x5f398839
Faulting module name: ZTW64.EXE, version: 2.4.197.0, 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


Thanks
Ben

690 views      
Thread locked
 

Messages in this Thread

 
96,640 Postings in 12,231 Threads, 350 registered users, 73 users online (0 registered, 73 guests)
Index | Admin contact |   Forum Time: Apr 20, 2024 - 6:59 am UTC  |  Hits:62,934,407  (6,091 Today )
RSS Feed