[PATCH] msscript.ocx: Avoid buffer overflow when getting the type info.

Gabriel Ivăncescu gabrielopcode at gmail.com
Mon Sep 23 08:22:55 CDT 2019


On 9/23/19 4:25 PM, Jacek Caban wrote:
> On 9/23/19 3:14 PM, Gabriel Ivăncescu wrote:
>>>
>>>
>>> This is an internal function, so invalid tid should never happen.
>>>
>>
>> Hi Jacek,
>>
>> Unless I'm misunderstanding something, it's called from GetTypeInfo, 
>> GetIDsOfNames, Invoke, without any checking on the input. I didn't 
>> want to duplicate the checks in each of them, though. 
> 
> 
> It always passes IScriptConteol_tid constant as tid.
> 
> 
> Jacek
> 

Right, sorry for the noise, I completely missed that fact. :-)



More information about the wine-devel mailing list