USER32: Avoid crashing in +relay if SetDeskWallPaper is called with -1.

Mike McCormack mike at codeweavers.com
Mon Mar 27 23:55:00 CST 2006


Not sure why the (LPSTR)-1 isn't caught in the NTDLL_dbgstr_an exception 
handler.  Probably better to fix that, but here's my workaround anyway.

---

  dlls/user/desktop.c   |    9 +++++++++
  dlls/user/user32.spec |    2 +-
  2 files changed, 10 insertions(+), 1 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2a60ac345172c74decee03d5e0e28fb53dd38fa7.diff
Type: text/x-patch
Size: 1401 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060328/68d70ca7/2a60ac345172c74decee03d5e0e28fb53dd38fa7.diff


More information about the wine-patches mailing list