Summary: | crash in nepomuk or kdirwatch(kdelibs) | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Jaime Torres <jtamate> |
Component: | kdecore | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cfeck, nepomuk-bugs, szo |
Priority: | VHI | Keywords: | drkonqi |
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdelibs/736d5237f822fc72736f75f379c4f86d6bf48098 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
the tar with the file
Proposed fix |
Description
Jaime Torres
2013-07-02 18:53:07 UTC
This crash happens to every KDE program that tries to walk into my home directory (almost all). Just because I had a file in that directory with a very strange name, just to test things like this. To be able to move that file from a KDE application to another place. The file name is: \|\|\|\|$'\026'$'\026'$'\026'$'\026'$'\207'$'\207'$'\207'$'\207'$'\377'$'\377'$'\377'$'\377'\(\(\(\($'\255'$'\255'$'\255'$'\255'$'\324'$'\324'$'\324'$'\324'\`\`\`\`$'\373'$'\373'$'\373'$'\373'$'\333'$'\333'$'\333'$'\333'NNNN$'\v'$'\v'$'\v'$'\v'FFFF$'\335'$'\335'$'\335'$'\335'JJJJ$'\275'$'\275'$'\275'$'\275'$'\364'$'\364'$'\364'$'\364'$'\333'$'\333'$'\333'$'\333'MMMM Once I've moved that file to a rarely used directory (not in /home), the crashes are gone, except when trying to navigate to that directory: dolphin and the open dialog freeze. Probably related to commit f4269ef3498581964e8a1a13cd0d6d7f19c88762 ? Fix/workaround for legacy encoded filename handling Could you create a simple tar.gz file with an empty file named this way? Created attachment 80909 [details]
the tar with the file
Yep, kio_file crashes when visiting a directory with such a file with Dolphin. Róbert, could you have a look? Created attachment 80921 [details]
Proposed fix
Please check if this patch corrects the problem!
Git commit 736d5237f822fc72736f75f379c4f86d6bf48098 by Szókovács Róbert. Committed on 03/07/2013 at 14:57. Pushed by szokovacs into branch 'master'. Fix for kio_file crash on non-utf filenames The buffersize was too small for cases when more than one characters are non-utf REVIEW: 111379 M +1 -1 kdecore/localization/klocale_kde.cpp http://commits.kde.org/kdelibs/736d5237f822fc72736f75f379c4f86d6bf48098 |