On Tue, 2005-06-21 at 14:57 -0400, Vladimir Dergachev wrote:
>               /* Texture offset is dangerous and needs more checking */
>       ADD_RANGE(R300_TX_OFFSET_0, 16);
> 
>          I don't think texture offsets are ever written to, however if they
>          point in the wrong place they can be used to read memory directly.
> 
>          ideally we would check these to be either with MC_FB_LOCATION
>          or MC_AGP_LOCATION ranges. Problem is what do we do on PCI cards ?
>          use AIC controller settings ?

Just verify that the location is within expected areas of the card's
virtual address space, like you do for color/depth offsets, right?

-- 
Eric Anholt                                     [EMAIL PROTECTED]
http://people.freebsd.org/~anholt/              [EMAIL PROTECTED]


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to