|
Re: [GHC] #647: Socket bug on Mac OS X, with patch: msg#00118lang.haskell.glasgow.bugs
#647: Socket bug on Mac OS X, with patch ----------------------------------+----------------------------------------- Reporter: gwright@xxxxxxxxxxx | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries/network | Version: 6.4.1 Severity: normal | Resolution: Keywords: "OS X" Sockets | Os: MacOS X Difficulty: Easy (1 hr) | Architecture: powerpc ----------------------------------+----------------------------------------- Comment (by vs@xxxxxxxxx): Looking at sockaddr, sa_len looks like to be the culprit since it isn't initialized and thus a likely candidate to contain bogus values. The other members of the structure should all get initialized explicitly. Could you try initializing this field with the proper length? Other applications explicitly test the presence of sa_len, but I doubt that GHC runs no OSes that do not have this member anyway. Volker -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/647> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [GHC] #647: Socket bug on Mac OS X, with patch, GHC |
|---|---|
| Next by Date: | [GHC] #660: binary snapshot install crashes on ps docs, GHC |
| Previous by Thread: | Re: [GHC] #647: Socket bug on Mac OS X, with patch, GHC |
| Next by Thread: | Re: [GHC] #647: Socket bug on Mac OS X, with patch, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |