
Opening files with a total path length less than user's home path crashes
Reported by John Bradley | February 17th, 2011 @ 02:17 AM
What I did: Opened a file with absolute
location path "/test"
What I expected to happen: File opens normally in
the editor
What actually happened: Crashes
Version of Kod: 0.0.4
This problem is due to the checking in Kod when it goes to
replace the user's path with a '~'.
If the path of the file is of a length less than the home directory
length (in my case /Users/johnbradley) it will raise the
exception:
*** -[NSCFString
replaceOccurrencesOfString:withString:options:range:]: Range or
index out of bounds
Comments and changes to this ticket
-
rsms April 24th, 2011 @ 11:05 PM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
A text editor for Mac OS X
People watching this ticket
Referenced by
-
210 Opening files with a total path length less than user's home path crashes (from [6c615d7662e327f2bd4a9d019800471157e73c7a]) Fixes #...
-
210 Opening files with a total path length less than user's home path crashes (from [6c615d7662e327f2bd4a9d019800471157e73c7a]) Fixes #...