Files
xserver/dix
Dave Airlie 07c36e4fdc dix/resource: fix use after free in resource code with DRI
LookupClientResourceComplex is used by DRI1 code to find and free a DRI
drawable in a callback, however when the DRI code returns this->value
is now pointing at freed memory. It seemed easiest to store the value
to a temporary and return it afterwards.

Another option might be a new FreeClientResourceComplex or one that
also returns the id, so we can free it using an alternative means.

found using valgrind.

amended along ajax's suggestions
2009-06-24 10:44:11 +10:00
..
2009-02-03 10:06:00 -08:00
2003-11-14 16:49:22 +00:00
2003-11-14 15:54:54 +00:00
2009-06-03 13:45:42 -04:00
2009-06-17 09:05:22 +10:00
2009-06-24 09:00:41 +10:00
2009-04-28 16:03:56 +10:00
2009-01-22 02:11:16 -05:00
2009-01-22 02:11:16 -05:00
2009-05-28 17:20:58 +10:00
2009-05-28 17:20:58 +10:00