[GHC] #8110: Off-by-one error in FastString.getFastStringTable

GHC ghc-devs at haskell.org
Fri Aug 30 15:23:41 UTC 2013


#8110: Off-by-one error in FastString.getFastStringTable
---------------------------------------+-----------------------------------
        Reporter:  parcs               |            Owner:
            Type:  bug                 |           Status:  new
        Priority:  normal              |        Milestone:
       Component:  Compiler            |          Version:  7.6.3
      Resolution:                      |         Keywords:
Operating System:  Unknown/Multiple    |     Architecture:
 Type of failure:  Compile-time crash  |  Unknown/Multiple
       Test Case:                      |       Difficulty:  Unknown
        Blocking:                      |       Blocked By:
                                       |  Related Tickets:
---------------------------------------+-----------------------------------

Comment (by Patrick Palka <patrick@…>):

 In [changeset:85c1715d086bf2d35bc05133398f462919f2aa7b/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="85c1715d086bf2d35bc05133398f462919f2aa7b"
 Fix off-by-one error in FastString.getFastStringTable (#8110)

 The function was reading past the end of the FastString table, causing
 the -dfaststring-stats option to behave unpredictably.
 }}}

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




More information about the ghc-tickets mailing list