#5688: instance Read Integer/Rational/Double readsPrec out of memory and crash
due
to exponential notation
-------------------------------+--------------------------------------------
Reporter: gracjan | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 7.6.1
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 igloo):
Replying to [comment:33 iustin]:
> Replying to [comment:31 igloo]:
> > This isn't a regression, so let's punt it to 7.6.
>
> It's not a regression, but IMHO it's a security bug.
I don't think a DoS is as bad a problem as the phrase "security bug"
implies.
> As such, it should be fixed even in lower versions, not only in a future
one!
We're not set up to be able to make releases on old branches.
> I might overreact (sorry) but dragging the feet on such issues make it
hard to promote the use of Haskell…
Well, pragmatically speaking, currently we're past the feature freeze and
into the RC phase (so ideally wouldn't be changing the definition of `Read
Integer` etc), the release is already long overdue, and we don't have a
good fix yet.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5688#comment:34>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs