mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 12:04:51 +00:00
- Fix TC edit control NULL pointer. See CORE-7695.
svn path=/trunk/; revision=61458
This commit is contained in:
parent
20ef076be6
commit
40814c5eb2
1 changed files with 3 additions and 0 deletions
|
@ -1328,6 +1328,8 @@ co_IntSendMessageTimeoutSingle( HWND hWnd,
|
|||
else
|
||||
{
|
||||
lParamBufferSize = MsgMemorySize(MsgMemoryEntry, wParam, lParam);
|
||||
// If zero, do not allow callback on client side to allocate a buffer!!!!! See CORE-7695.
|
||||
if (!lParamBufferSize) lParamBufferSize = -1;
|
||||
}
|
||||
|
||||
if (! NT_SUCCESS(PackParam(&lParamPacked, Msg, wParam, lParam, FALSE)))
|
||||
|
@ -1569,6 +1571,7 @@ co_IntSendMessageWithCallBack( HWND hWnd,
|
|||
else
|
||||
{
|
||||
lParamBufferSize = MsgMemorySize(MsgMemoryEntry, wParam, lParam);
|
||||
if (!lParamBufferSize) lParamBufferSize = -1;
|
||||
}
|
||||
|
||||
if (! NT_SUCCESS(PackParam(&lParamPacked, Msg, wParam, lParam, !!ptiSendTo)))
|
||||
|
|
Loading…
Reference in a new issue