Bug 11778

Summary: src/window.c missing NULL check
Product: xorg Reporter: Roland "Test-tools" Bär <roland>
Component: App/compizAssignee: David Reveman <reveman>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: janitor, patch
Version: git   
Hardware: Other   
OS: All   
i915 platform: i915 features:
Description Flags
Null checks and returns FALSE none

Description Roland "Test-tools" Bär 2007-07-31 04:21:33 UTC
This patch adds the missing NULL check, returns then FALSE.

Currently, we check return value of malloc() 169 out of 195 times. On this place this will immediatly result in a crash...
Comment 1 Roland "Test-tools" Bär 2007-07-31 04:22:20 UTC
Created attachment 10925 [details] [review]
Null checks and returns FALSE
Comment 2 David Reveman 2007-07-31 11:15:16 UTC

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.