Sweden-Number/dlls/ddraw
Alex Henrie 062f1ae752 ddraw: Validate the "surface" pointer before creating the surface in CreateSurface().
And thereby avoid leaking the surface on the error path.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-16 19:08:36 +01:00
..
tests ddraw/tests: Validate the "surface" pointer is unmodified after CreateSurface() without cooperative level. 2017-02-16 19:08:26 +01:00
Makefile.in
clipper.c
ddraw.c ddraw: Validate the "surface" pointer before creating the surface in CreateSurface(). 2017-02-16 19:08:36 +01:00
ddraw.spec ddraw: Implement GetSurfaceFromDC(). 2017-02-10 21:29:40 +01:00
ddraw_classes.idl
ddraw_private.h ddraw: Relax "dwSize" validation in ddraw_surface*_Lock(). 2017-01-25 15:52:35 +01:00
device.c ddraw: Apply legacy clipspace to d3d2. 2016-10-03 20:43:00 +02:00
executebuffer.c ddraw: Implement D3DOP_TEXTURELOAD. 2017-02-07 14:45:37 +01:00
light.c wined3d: Implement WINED3D_LIGHT_PARALLELPOINT support in the GLSL ffp. 2015-05-01 15:45:00 +09:00
main.c ddraw: Implement GetSurfaceFromDC(). 2017-02-10 21:29:40 +01:00
material.c
palette.c ddraw: Rename "wineD3DPalette" to "wined3d_palette". 2016-08-26 23:23:45 +09:00
surface.c ddraw: Validate the primary surface format in ddraw_surface7_Restore(). 2017-02-01 16:26:52 +01:00
utils.c ddraw: Fix a typo in WARN() messages. 2016-06-03 00:10:51 +09:00
version.rc
vertexbuffer.c ddraw: Use wined3d_resource_unmap() in d3d_vertex_buffer7_Unlock(). 2016-08-29 17:55:16 +09:00
viewport.c ddraw: Use the clip space matrix in TransformVertices. 2016-10-03 20:43:01 +02:00