Bug 295662

Summary: pango_default_break broken when called with empty text
Product: [openSUSE] openSUSE 10.3 Reporter: Radek Doulik <rodo>
Component: GNOMEAssignee: E-mail List <bnc-team-gnome-build>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None    
Version: Alpha 6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 272405    
Attachments: proposed patch

Description Radek Doulik 2007-07-30 15:37:28 UTC
this function corrupts memory when called with empty text, like
pango_default_break ("", 0, -1, NULL, attrs, 1);

attached patch fixes the problem.
Comment 1 Radek Doulik 2007-07-31 09:54:54 UTC
Created attachment 154334 [details]
proposed patch
Comment 2 Radek Doulik 2007-07-31 14:12:47 UTC
upstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=462137
Comment 3 JP Rosevear 2007-07-31 18:48:32 UTC
Submitted the altered upstream fix.
Comment 4 JP Rosevear 2007-07-31 18:49:42 UTC
*** Bug 272405 has been marked as a duplicate of this bug. ***
Comment 5 Gary Ekker 2008-03-26 18:07:58 UTC
Changing to component GNOME. Sorry for the spam.