Ticket #3241 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

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: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

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

Changed 4 years ago by simonmar

  • owner set to simonmar
  • difficulty set to Unknown

Changed 4 years ago by igloo

  • milestone set to 6.12.1

Changed 4 years ago by simonmar

  • status changed from new to closed
  • resolution set to fixed

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.