#8108: getGroupEntryForID segfaults in multi-threaded applications
-------------------------------------+------------------------------------
        Reporter:  redneb            |            Owner:
            Type:  bug               |           Status:  closed
        Priority:  normal            |        Milestone:
       Component:  libraries/unix    |          Version:  7.6.3
      Resolution:  fixed             |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  Runtime crash     |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------
Changes (by thoughtpolice):

 * status:  patch => closed
 * resolution:   => fixed


Comment:

 Thanks for the patch! I went ahead and added tests. Fixed in the `unix`
 package by commit

 {{{
 commit ef683c6ba703106306732f1da68adfb508236334
 Author: Marios Titas <[email protected]>
 Date:   Mon Jul 8 03:55:59 2013 -0400

     Extract the result of get*_r before we deallocate the auxiliary buffer

     Also comes with tests. This closes #8108.

     Signed-off-by: Austin Seipp <[email protected]>
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8108#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets

Reply via email to