http://bugs.winehq.org/show_bug.cgi?id=18601
--- Comment #3 from Jacek Caban jacek@codeweavers.com 2009-05-24 11:17:54 --- Created an attachment (id=21288) --> (http://bugs.winehq.org/attachment.cgi?id=21288) Use TLS_OUT_OF_INDEXES as an invalid TLS value.
Great analyze, thanks! I've attached a patch that fixes the bug.