This is a bug that existed before it was uncovered by r145042. fileSystemRepresentation returns a CString that has a buffer that's longer than its length, and then resolveSymlinksInPath treats it as if buffer size was the length. <rdar://problem/13785101>
This is much like bug 55412. I'd like to see if these CString issues can be fixed for good...
Created attachment 200463 [details] proposed fix
Committed <http://trac.webkit.org/r149531>.