#7342: Memory violation bug in System.Posix.Env.putEnv ------------------------------------------+--------------------------------- Reporter: SimonHengel | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: libraries/unix | Version: 7.4.2 Resolution: fixed | Keywords: Os: Linux | Architecture: x86_64 (amd64) Failure: Incorrect result at runtime | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: ------------------------------------------+--------------------------------- Changes (by igloo):
* status: patch => closed * difficulty: => Unknown * resolution: => fixed Comment: Thanks for the patch! Applied to 7.6 as b95a003b20436863ef2f5fc01e6cd77f5bef94a0. Fixed in HEAD by: {{{ commit b6b5fcbfd39a69b914f6af931856ef5af63393fc Author: Ian Lynagh <i...@well-typed.com> Date: Sat Dec 1 22:28:50 2012 +0000 Add newFilePath to System.Posix.Internals Needed for #7342 }}} {{{ commit 76dad7afeaef33576940b64a7b3be91d05434df5 Author: Ian Lynagh <i...@well-typed.com> Date: Sat Dec 1 22:31:48 2012 +0000 Fix putenv; trac #7342 We were freeing the string, but the string becomes part of the environment. }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7342#comment:5> 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