Re: [GHC] #7342: Memory violation bug in System.Posix.Env.putEnv

2012-12-02 Thread GHC
#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 
 Date:   Sat Dec 1 22:28:50 2012 +

 Add newFilePath to System.Posix.Internals

 Needed for #7342
 }}}

 {{{
 commit 76dad7afeaef33576940b64a7b3be91d05434df5
 Author: Ian Lynagh 
 Date:   Sat Dec 1 22:31:48 2012 +

 Fix putenv; trac #7342

 We were freeing the string, but the string becomes part of the
 environment.
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

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


Re: [GHC] #7342: Memory violation bug in System.Posix.Env.putEnv (was: Bug in System.Posix.Env.putEnv)

2012-11-17 Thread GHC
#7342: Memory violation bug in System.Posix.Env.putEnv
-+--
 Reporter:  SimonHengel  |  Owner:
 Type:  bug  | Status:  patch 
 Priority:  normal   |  Component:  libraries/unix
  Version:  7.4.2|   Keywords:
   Os:  Linux|   Architecture:  x86_64 (amd64)
  Failure:  Incorrect result at runtime  |   Testcase:
Blockedby:   |   Blocking:
  Related:   |  
-+--

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

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