Bug 655613
Summary: | [abrt] gimp-2:2.6.11-1.fc14: strlen: Process /usr/bin/gimp-2.6 was killed by signal 11 (SIGSEGV) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Javier Jardón <jjardon> | ||||
Component: | gtk2 | Assignee: | Matthias Clasen <mclasen> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 14 | CC: | cnangel, i-graszka, mclasen, nphilipp | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | abrt_hash:963ca308372e39b9aabc9b6fc6e3da4ef51c056f | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-01-18 10:52:58 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Javier Jardón
2010-11-22 00:08:07 UTC
Created attachment 461893 [details]
File: backtrace
Which version of gtk2 do you have installed? (In reply to comment #2) > Which version of gtk2 do you have installed? 2.22.0 Oh, I meant the whole package version... I'll simply assume gtk2-2.22.0-1.fc14.1, shout if that is wrong ;-). This seems like a bug in gtk2, specifically the gtk file chooser completion code to me: --- 8< --- gtkfilechooser.c / completion_match_func() --- norm_file_part = g_utf8_normalize (chooser_entry->file_part, -1, G_NORMALIZE_ALL); norm_name = g_utf8_normalize (name, -1, G_NORMALIZE_ALL); [...] result = (strncmp (norm_file_part, norm_name, strlen (norm_file_part)) == 0); --- >8 -------------------------------------------------- The crash happens in this last line, when calling strlen(norm_file_part). Both norm_file_part and norm_name are NULL at that time, which indicates that the strings fed to g_utf8_normalize() above weren't valid UTF-8. So both norm_file_part and norm_name should be checked to be != NULL before being fed to "normal" glibc string functions that can't cope with NULL args like strlen() and strncmp(). I'll change the component accordingly. *** Bug 669361 has been marked as a duplicate of this bug. *** *** Bug 677632 has been marked as a duplicate of this bug. *** Fedora 14 has reached its end of life. The same issue on Fedora 15 is tracked in bug #716325. *** This bug has been marked as a duplicate of bug 716325 *** |