imm: Don't crash in ImmConfigureIME when dwMode is IME_CONFIG_REGISTERWORD and lpData is NULL (resend)

Aric Stewart aric at
Thu Sep 18 11:24:17 CDT 2008

Humm, according to MSDN:

"If dwMode is set to IME_CONFIG_REGISTERWORD, this parameter must 
indicate a REGISTERWORD structure."

If windows does not crash in this case, then maybe it would involve 
checking for the non-presence of the parameter and returning the correct 

So it looks like your fix is not quite correct.


Juan Lang wrote:
> Hi,
> anything wrong with this one?
> --Juan
> ------------------------------------------------------------------------

More information about the wine-patches mailing list