Bug 11879 - Use before NULL check in via_context.c
Summary: Use before NULL check in via_context.c
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/Unichrome (show other bugs)
Version: unspecified
Hardware: All All
: low normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords: janitor, patch
Depends on:
Blocks:
 
Reported: 2007-08-07 01:35 UTC by Roland "Test-tools" Bär
Modified: 2007-08-07 13:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
.... or remove NULL check... (1.40 KB, patch)
2007-08-07 01:35 UTC, Roland "Test-tools" Bär
Details | Splinter Review
(2nd) Removed then "const", so it compiles now... (1010 bytes, patch)
2007-08-07 01:50 UTC, Roland "Test-tools" Bär
Details | Splinter Review

Description Roland "Test-tools" Bär 2007-08-07 01:35:00 UTC
Either remove that NULL check in viaXMesaWindowMoved(), in case it is a a can't happen, or apply attached patch
Comment 1 Roland "Test-tools" Bär 2007-08-07 01:35:43 UTC
Created attachment 11028 [details] [review]
.... or remove NULL check...
Comment 2 Roland "Test-tools" Bär 2007-08-07 01:50:58 UTC
Created attachment 11029 [details] [review]
(2nd) Removed then "const", so it compiles now...
Comment 3 Brian Paul 2007-08-07 13:58:02 UTC
fixed in git.


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.