[mpr] Fix infinite loop in wnetInit; fixes bug 6002
Dan Kegel
dank at kegel.com
Sat Aug 19 17:12:51 CDT 2006
See http://bugs.winehq.org/show_bug.cgi?id=6002
Installing Lotus Notes 7 appends ",npnotes" to
System\\CurrentControlSet\\Control\\NetworkProvider\\Order\\ProviderOrder
This tickled a bug in wine's mpr.dll which caused any app that tried
to use wininet.dll to hang. The last message from +all from the hung app is
0009:trace:mpr:wnetInit provider order is L",npnotes"
Turns out the code in mrp.dll that processes that comma-separated list was buggy
in two places; I don't think it ever found the second provider in the list.
Here's a quick fix; I'm not familiar with mpr, so I don't know if it's complete,
but it does get me past the problem, and it does cause the second provider to
be noticed.
ChangeLog
mpr: fix bug in ProviderOrder comma processing in wnetInit()
wnet.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wnet-providerorder.patch
Type: text/x-patch
Size: 972 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060819/561a03e0/wnet-providerorder.bin
More information about the wine-patches
mailing list