[GHC] #9839: RTS options parser silently accepts invalid flags

GHC ghc-devs at haskell.org
Mon Mar 23 00:04:04 UTC 2015


#9839: RTS options parser silently accepts invalid flags
-------------------------------------+-------------------------------------
        Reporter:  adamgundry        |                   Owner:  carlostome
            Type:  bug               |                  Status:  closed
        Priority:  normal            |               Milestone:
       Component:  Runtime System    |                 Version:  7.8.3
      Resolution:  fixed             |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #4243             |  Differential Revisions:  Phab:D748
-------------------------------------+-------------------------------------
Changes (by thomie):

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


Comment:

 Thanks Carlos!

 The only thing not handled by this patch is checking that arguments that
 are supposed to be numeric, are actually numeric. Currently `atof` is
 called on them, which accepts pretty much anything. Maybe a fix for this
 can be part of #4243.

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


More information about the ghc-tickets mailing list