shell32: [Resend] Potential dereference of null ptr

Jeff Latimer lats at yless4u.com.au
Wed Jun 27 05:35:39 CDT 2007


This problem is referenced at Coverity CID 137.  In
FileMenu_AppendItemAW at line 396 it explicity allows lpText to be
passed as NULL to FileMenu_AppendItemW (line 397).  This patch fixes
FileMenu_AppendItemW to prevent the NULL reference.

Jeff

---
  dlls/shell32/shlmenu.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 426946d6f2cd365f2faececf7270c59d9591b2a7.diff
Type: text/x-patch
Size: 430 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070627/cc0fd07b/426946d6f2cd365f2faececf7270c59d9591b2a7.bin


More information about the wine-patches mailing list