Bug 12184 - r200BindTexture(): texObj->DriverData != NULL assertion failed
Summary: r200BindTexture(): texObj->DriverData != NULL assertion failed
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r200 (show other bugs)
Version: unspecified
Hardware: Other FreeBSD
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-27 13:19 UTC by Kostik Belousov
Modified: 2016-02-05 08:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Proposed patch (works for me). (447 bytes, patch)
2007-08-27 13:19 UTC, Kostik Belousov
Details | Splinter Review

Description Kostik Belousov 2007-08-27 13:19:01 UTC
The r200NewTextureObject() function does not check return value of the
r200AllocTexObj(). As consequence, texture without valid DriverData may
be returned. Later, attempt to bind the texture would result in assertion
stated as summary of the bug.
Comment 1 Kostik Belousov 2007-08-27 13:19:53 UTC
Created attachment 11294 [details] [review]
Proposed patch (works for me).
Comment 2 Timothy Arceri 2016-02-05 08:18:20 UTC
This code no longer exists in the driver.


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.