[kompare] [Bug 340672] Kompare crashes (SIGSEGV) when comparing directories with space in path names

David Rosca nowrep at gmail.com
Sun May 10 22:05:30 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=340672

David Rosca <nowrep at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/libk
                   |                            |omparediff2/d5220095efd7684
                   |                            |35628bdbcc28c52014b2f9dc9

--- Comment #4 from David Rosca <nowrep at gmail.com> ---
Git commit d5220095efd768435628bdbcc28c52014b2f9dc9 by David Rosca.
Committed on 10/05/2015 at 22:04.
Pushed by drosca into branch 'master'.

Fix crash when comparing files with space in path

Add functions to escape/unescape paths extracted from diffs:
 - remove quotes if path is enclosed in quotes (in case of space in path)
 - unescape quotes in path (in case path actually contains quote)
 - unescape double backquotes (not on Windows)
REVIEW: 123698

M  +3    -2    diffmodel.cpp
M  +40   -4    parserbase.cpp
M  +3    -0    parserbase.h

http://commits.kde.org/libkomparediff2/d5220095efd768435628bdbcc28c52014b2f9dc9

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kompare-devel mailing list