ruby/ext/win32/lib/win32
KJ Tsanaktsidis 051a874325 Fix memory overread in registry.rb
The terminator is not actually getting filled in; we're simply passing
(two) bytes of empty memory as the NUL terminator. This can lead to
garbage characters getting written to registry values.

Fix this by explicitly putting a WCHAR_NUL character into the string to
be sent to the registry API, like we do in the MULTI_SZ case.

[Bug #20096]
2023-12-28 18:03:58 +11:00
..
registry.rb Fix memory overread in registry.rb 2023-12-28 18:03:58 +11:00
resolv.rb Removed win32/resolv.rb for 32bit env 2020-11-11 09:27:36 +09:00
sspi.rb Fix some typos by spell checker 2021-04-26 10:07:41 +09:00