[GHC] #13599: Something is fishy in Windows hLock implementation

GHC ghc-devs at haskell.org
Fri Apr 21 17:24:01 UTC 2017


#13599: Something is fishy in Windows hLock implementation
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"e134af010bdd0d2a94fbfd68e0605dc55e1be3a8/ghc"
 e134af01/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="e134af010bdd0d2a94fbfd68e0605dc55e1be3a8"
 base: Fix offset initialization of Windows hLock implementation

 The previous implementation swapped the buffer size with the byte to be
 set, essentially resulting in an uninitialized buffer.

 Test Plan: Validate on Windows

 Reviewers: austin, hvr

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #13599

 Differential Revision: https://phabricator.haskell.org/D3478
 }}}

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


More information about the ghc-tickets mailing list