#647: Socket bug on Mac OS X, with patch
----------------------------------+-----------------------------------------
  Reporter:  [EMAIL PROTECTED]  |          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 [EMAIL PROTECTED]):

 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@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to