#5741: openFile should fail if null bytes are in the argument
--------------------------------------+-------------------------------------
Reporter: Veinor | Owner:
Type: feature request | Status: closed
Priority: high | Milestone: 7.6.1
Component: libraries/base | Version: 7.2.1
Resolution: wontfix | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Runtime performance bug | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
--------------------------------------+-------------------------------------
Changes (by simonmar):
* status: new => closed
* resolution: => wontfix
Comment:
I'm inclined not to do anything here. If you're allowing the user to
supply a filename in a secure setting, you should do a lot more than just
check for a `.cfg` extension, you should probably be extremely restrictive
- e.g. the filename must be composed only of the characters
`[A-Za-z0-9_.-]`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5741#comment:4>
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