mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
ieframe: Check for null before dereferencing it (coverity).
This commit is contained in:
parent
c60a0b857d
commit
07fd75badd
1 changed files with 1 additions and 1 deletions
|
@ -663,9 +663,9 @@ static HRESULT WINAPI DocObjectService_FireBeforeNavigate2(
|
|||
|
||||
if(cbPostData) {
|
||||
post_data = SafeArrayCreateVector(VT_UI1, 0, cbPostData);
|
||||
memcpy(post_data->pvData, pPostData, cbPostData);
|
||||
if(!post_data)
|
||||
return E_OUTOFMEMORY;
|
||||
memcpy(post_data->pvData, pPostData, cbPostData);
|
||||
}else {
|
||||
post_data = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue