[GHC] #5688: instance Read Integer/Rational/Double readsPrec out of memory and crash due to exponential notation
GHC
cvs-ghc at haskell.org
Mon Mar 12 11:31:17 CET 2012
#5688: instance Read Integer/Rational/Double readsPrec out of memory and crash due
to exponential notation
-------------------------------+--------------------------------------------
Reporter: gracjan | Owner: igloo
Type: bug | Status: merge
Priority: highest | Milestone: 7.4.2
Component: libraries/base | Version: 6.12.3
Resolution: | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Runtime crash | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
-------------------------------+--------------------------------------------
Comment(by simonmar):
Replying to [comment:56 igloo]:
> We need to decide if we want to merge for 7.4.2. The arguments against
doing so are:
> * Breaks the library interface policy, e.g. because the behaviour of
`read "12e34" :: Integer` changes
> * Would mean we should bump base's version number to 4.6, which will
mean lots of packages need updating.
We could consider it a bug that `read "12e34"` worked before. If we can
reasonably claim that the other interface changes are in "internal"
modules, then we could avoid bumping the base version (I don't know
whether that's true or not though).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5688#comment:59>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list