[Bug 38279] New: Uninitialized src_rect in wined3d/surface.c:cpu_blit_color_fill
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Mar 24 12:49:36 CDT 2015
https://bugs.winehq.org/show_bug.cgi?id=38279
Bug ID: 38279
Summary: Uninitialized src_rect in
wined3d/surface.c:cpu_blit_color_fill
Product: Wine
Version: 1.7.39
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-d3d
Assignee: wine-bugs at winehq.org
Reporter: isakov-sl at bk.ru
Distribution: ---
In procedure cpu_blit_color_fill there is local variable
static const RECT src_rect;
assumed inited by zero?
Then it used as parameter
return surface_cpu_blt(dst_surface, dst_rect, NULL, &src_rect,
WINEDDBLT_COLORFILL, &BltFx, WINED3D_TEXF_POINT);
And this function explicitly used the pointer
srcheight = src_rect->bottom - src_rect->top;
srcwidth = src_rect->right - src_rect->left;
What behavior assumed here?
I found no assingment to this static constant.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list