mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
BSTR of length 0 is allowed.
This commit is contained in:
parent
bfeca3bff9
commit
92940e0c4f
@ -1512,7 +1512,7 @@ static void MSFT_ReadValue( VARIANT * pVar, int offset, TLBContext *pcx )
|
||||
case VT_BSTR :{
|
||||
char * ptr;
|
||||
MSFT_ReadLEDWords(&size, sizeof(INT), pcx, DO_NOT_SEEK );
|
||||
if(size <= 0) {
|
||||
if(size < 0) {
|
||||
FIXME("BSTR length = %d?\n", size);
|
||||
} else {
|
||||
ptr=TLB_Alloc(size);/* allocate temp buffer */
|
||||
|
Loading…
Reference in New Issue
Block a user