crypt32: CryptUnprotectData: test zero-length payload

Dan Kegel dank at kegel.com
Thu Oct 29 09:07:01 CDT 2009


On Thu, Oct 29, 2009 at 7:05 AM, Dan Kegel <dank at kegel.com> wrote:
> On Thu, Oct 29, 2009 at 1:06 AM, Paul Vriens <paul.vriens.wine at gmail.com> wrote:
>> Some testfailures on everything below W2K. Some tests were already skipped
>> because of this.
>>
>> I tried several things but the last error is always set to
>> RPC_X_WRONG_STUB_VERSION. Maybe we should test for that before we do any
>> tests and bail out? Does this error make sense on 9x/Me/NT4?
>
> http://www.codeguru.com/forum/archive/index.php/t-326734.html
> may have a clue, it mentions that midl has a /robust option that
> produces this error if used with older windows?
> http://msdn.microsoft.com/en-us/library/aa367363(VS.85).aspx

Oh, and the other part of the clue: I hear that on Windows,
this function's guts are implemented with COM.  So perhaps
Windows is tripping over its shoelaces internally on this?



More information about the wine-devel mailing list