Summary: | Kompare crashes (SIGSEGV) when comparing directories with space in path names | ||
---|---|---|---|
Product: | [Applications] kompare | Reporter: | Syam <get.sonic> |
Component: | general | Assignee: | Kompare developers <kompare-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | pejakm |
Priority: | NOR | ||
Version: | 4.1.3 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/libkomparediff2/d5220095efd768435628bdbcc28c52014b2f9dc9 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Set of files to reproduce the problem |
Description
Syam
2014-11-06 04:32:15 UTC
Created attachment 89468 [details]
Set of files to reproduce the problem
Here's the bug report for Fedora (auto reported by abrt): https://bugzilla.redhat.com/show_bug.cgi?id=1160938 The report says it could be potential duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1033186 I have observed the latter bug while comparing Qwt sources. This happens with latest Kompare (15.04.0) too, if it can help, here's a backtrace: http://p.pomf.se/7362 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 |