#7037: setProgName() crashes when argv[0] == NULL
---------------------------------+------------------------------------------
    Reporter:  shachaf           |       Owner:  simonmar        
        Type:  bug               |      Status:  new             
    Priority:  high              |   Milestone:  7.6.1           
   Component:  Runtime System    |     Version:  7.4.2           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  Runtime crash   
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by marlowsd@…):

 commit 0d19922acd724991b7b97871b1404f3db5058b49
 {{{
 Author: Simon Marlow <[email protected]>
 Date:   Mon Jul 2 15:55:20 2012 +0100

     don't crash if argv[0] == NULL (#7037)

  rts/RtsFlags.c |   12 +++++++++---
  1 files changed, 9 insertions(+), 3 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7037#comment:2>
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

Reply via email to