Bug 5674

Summary: malloc return value is ignored in fribidi_analyse_string
Product: FriBidi Reporter: Nir Soffer <nirsof>
Component: bidiAssignee: Behdad Esfahbod <freedesktop>
Status: NEW --- QA Contact:
Severity: major    
Priority: highest    
Version: 0.10.4   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: fix for fribidi_analyse_string

Description Nir Soffer 2006-01-21 09:15:21 UTC
fribidi_log2vis crash when memory is low, instead of returning 0.

Attached a fix against fribidi-0.10.7:
 * change fribidi_analyse_string to return boolean instead of void
 * check the result in fribidi_log2vis

I noticed another ignored malloc call in that file, this patch fix only the one in fribidi_analyse_string.
Comment 1 Nir Soffer 2006-01-21 09:16:32 UTC
Created attachment 4410 [details] [review]
fix for fribidi_analyse_string
Comment 2 chemtech 2013-03-15 08:09:19 UTC
Nir Soffer,
Do you still experience this issue with newer soft?
Please check the status of your issue.
Comment 3 Nir Soffer 2013-03-15 09:45:51 UTC
This is not about user experience - why don't you check the code to see if malloc return value is handled correctly?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.