Bug 11778 - src/window.c missing NULL check
Summary: src/window.c missing NULL check
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: App/compiz (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: David Reveman
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: janitor, patch
Depends on:
Blocks:
 
Reported: 2007-07-31 04:21 UTC by Roland "Test-tools" Bär
Modified: 2007-07-31 11:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Null checks and returns FALSE (596 bytes, patch)
2007-07-31 04:22 UTC, Roland "Test-tools" Bär
no flags Details | Splinter Review

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
thanks


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.