[GHC] #3241: System.Win32.Registry - incorrect length calculation in regSetStringValue

GHC trac at galois.com
Mon May 18 11:34:23 EDT 2009


#3241: System.Win32.Registry - incorrect length calculation in regSetStringValue
--------------------+-------------------------------------------------------
Reporter:  binarin  |          Owner:                   
    Type:  bug      |         Status:  new              
Priority:  normal   |      Component:  libraries (other)
 Version:  6.10.2   |       Severity:  normal           
Keywords:           |       Testcase:                   
      Os:  Windows  |   Architecture:  Unknown/Multiple 
--------------------+-------------------------------------------------------
 regSetStringValue calls regSetValueEx with length of value in characters,
 not in bytes. Due to this only first half of value is written to registry.

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


More information about the Glasgow-haskell-bugs mailing list