Re: [PATCH] shell32: handle bad menu handle (Coverity)
9 Jan
2010
9 Jan
'10
2:04 p.m.
On 1/9/2010 16:59, Marcus Meissner wrote:
Hi,
handle "invalid menu" return -1.
Ciao, Marcus --- dlls/shell32/shlmenu.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
nItem = GetMenuItemCount(hmDst); + if (nItem == -1) + return uIDMax;
Hi, Marcus. Could you please add a test for that? It seems trivial.
5906
Age (days ago)
5906
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov