rpcrt4: Remove unreachable code in EmbeddedComplexSize.

James McKenzie jjmckenzie51 at earthlink.net
Sun Aug 17 18:06:56 CDT 2008


Juan Lang wrote:
> Hi James,
>
>   
>>> RPC_FC_ERROR_STATUS_T has a value of 0x10 and therefore isn't a
>>> possible value of "flags_type & 0xf" in the switch statement.
>>>       
>> This may be a really stupid question, but is it possible to generate
>> this condition?
>>     
>
> No, it isn't possible.  0xf & (any value) will never produce any value
> larger than 0xf.  0x10 > 0xf.
>   
Juan:

I meant is it possible to receive a RPC_FC_ERROR_STATUS_T  (0x010) in
the original data before it is anded with 0x0f.  If this is possible,
further changes may be needed.

James McKenzie




More information about the wine-devel mailing list