After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 736312 - Yelp crashes on searching
Yelp crashes on searching
Status: RESOLVED FIXED
Product: yelp
Classification: Applications
Component: Crashers
git master
Other Linux
: Normal critical
: ---
Assigned To: Yelp maintainers
Yelp maintainers
3.14
: 659970 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-09-09 08:51 UTC by Marcos Chavarria Teijeiro
Modified: 2014-09-11 15:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch that fixes the problem (1.30 KB, patch)
2014-09-09 08:57 UTC, Marcos Chavarria Teijeiro
committed Details | Review

Description Marcos Chavarria Teijeiro 2014-09-09 08:51:05 UTC
When I type anything and press Enter or click on "Search ..." the program throws a segmentation fault.

The problem is that on document_read_contents function on yelp-document.c, we get the **real** variable before the if block where we do search stuff.
Comment 1 Marcos Chavarria Teijeiro 2014-09-09 08:57:39 UTC
Created attachment 285719 [details] [review]
Patch that fixes the problem
Comment 2 Matthias Clasen 2014-09-10 12:11:43 UTC
seems like a pretty obvious patch. real is used before it is initialized.
Comment 3 Shaun McCance 2014-09-11 15:18:00 UTC
*** Bug 659970 has been marked as a duplicate of this bug. ***
Comment 4 Shaun McCance 2014-09-11 15:24:40 UTC
Looks good. Thanks.