[PATCH v2 5/5] crypt32: Fix wrong Base64 trailer WCHAR constants.

Alexandre Julliard julliard at winehq.org
Thu Feb 16 14:56:42 CST 2017


Lauri Kenttä <lauri.kentta at gmail.com> writes:

> The tests simply check that W and A give the same results.
> That wouldn't always happen without this fix.
>
> v2: Fix buffer overflow.
> Signed-off-by: Lauri Kenttä <lauri.kentta at gmail.com>

It doesn't work here:

../../../tools/runtest -q -P wine -T ../../.. -M crypt32.dll -p crypt32_test.exe.so base64 && touch base64.ok
base64.c:315: Test failed: base64 "V=" len 0: W and A differ
base64.c:315: Test failed: base64 "VV=" len 0: W and A differ
base64.c:315: Test failed: base64 "V==" len 0: W and A differ
base64.c:315: Test failed: base64 "V=" len 2: W and A differ
base64.c:315: Test failed: base64 "VV=" len 3: W and A differ
base64.c:315: Test failed: base64 "V==" len 3: W and A differ
Makefile:188: recipe for target 'base64.ok' failed
make[1]: *** [base64.ok] Error 6

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list