Opened 10 years ago

Closed 10 years ago

#3241 closed bug (fixed)

System.Win32.Registry - incorrect length calculation in regSetStringValue

Reported by: binarin Owned by: simonmar
Priority: normal Milestone: 6.12.1
Component: libraries (other) Version: 6.10.2
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

regSetStringValue calls regSetValueEx with length of value in characters, not in bytes. Due to this only first half of value is written to registry.

Change History (3)

comment:1 Changed 10 years ago by simonmar

difficulty: Unknown
Owner: set to simonmar

comment:2 Changed 10 years ago by igloo

Milestone: 6.12.1

comment:3 Changed 10 years ago by simonmar

Resolution: fixed
Status: newclosed

Fixed:

Mon Jun  1 13:52:21 BST 2009  Simon Marlow <marlowsd@gmail.com>
  * Fix #3241: regSetStringValue passed the wrong value for the length

Mon Jun  1 13:52:09 BST 2009  Simon Marlow <marlowsd@gmail.com>
  * add a test for #3241
Note: See TracTickets for help on using tickets.