Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.5.0
-
None
Description
If the data content of a REG_BINARY key is an un-even number of bytes, the code in QWinSettingsPrivate::readKey will truncate the data when it converts it to unicode. The casting from the binary data to the unicode string should not loose data.
You can duplicate this by using Regedit, creating a REG_BINARY value of 1 byte long and putting in "FF" there. Reading this data will get back no data.