#5741: openFile should fail if null bytes are in the argument
---------------------------------+------------------------------------------
    Reporter:  Veinor            |       Owner:                         
        Type:  feature request   |      Status:  new                    
    Priority:  high              |   Milestone:  7.6.1                  
   Component:  libraries/base    |     Version:  7.2.1                  
    Keywords:                    |          Os:  Unknown/Multiple       
Architecture:  Unknown/Multiple  |     Failure:  Runtime performance bug
  Difficulty:  Unknown           |    Testcase:                         
   Blockedby:                    |    Blocking:                         
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by igloo):

  * priority:  normal => high
  * difficulty:  => Unknown
  * milestone:  => 7.6.1


Comment:

 Should we make this throw an exception, or is checking for NULs just part
 of the input sanitation that the programmer needs to do? I'm inclined
 towards the latter (although we should probably document it somewhere if
 so). What do other people think?

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to