gdiplus: do not call delete_element(NULL)
austinenglish at gmail.com
Sat Jan 24 00:46:52 CST 2009
On Sat, Jan 24, 2009 at 12:42 AM, Vincent Povirk
<madewokherd+8cd9 at gmail.com> wrote:
> In several cases we call delete_element(x) after x has been set to
> NULL or after an unsuccessful clone_element(y, &x) call. clone_element
> always gives a NULL element pointer when it fails.
> delete_element(NULL) will dereference the NULL and crash. These lines
> will never be reached with a non-NULL element.
> Vincent Povirk
You forgot the patch.
More information about the wine-devel