[Bug 46140] New: .NET applications using 'WebRequest' API with MS .NET Framework crash when IPv4/6 is disabled in Linux kernel

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 13 13:10:01 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=46140

            Bug ID: 46140
           Summary: .NET applications using 'WebRequest' API with MS .NET
                    Framework crash when IPv4/6 is disabled in Linux
                    kernel
           Product: Wine
           Version: 3.20
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: winsock
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

to track:

https://www.winehq.org/pipermail/wine-devel/2018-November/135021.html

Copy/pasta from mailing list, courtesy of Brendan McGrath

https://gist.github.com/redmcg/7d81ef833c77bee6965b5f441006f697

--- snip ---
using System;
using System.Net;

public class WRTest
{
  public static void Main ()
  {
     WebRequest req = WebRequest.Create("http://www.google.com");
     HttpWebResponse resp = (HttpWebResponse) req.GetResponse();
     Console.WriteLine(resp.StatusDescription);
     resp.Close();
  }
}
--- snip ---

Microsoft Reference Source .NET Framework 4.x:

https://referencesource.microsoft.com/#System/net/System/Net/Sockets/Socket.cs,5995

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list