You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm doing something somewhat simple as enumerating the list of installed apps
let uninstall_key = root
.open_subkey_with_flags(path, KEY_READ | KEY_WOW64_32KEY)
.expect("key is missing");
// let apps: HashMap<String, InstalledApp> = uninstall_key.decode().unwrap_or_default();
let apps_result = uninstall_key.decode();
It turns out on my PC, one of the installed apps in the 32-bit view must have a key declared as REG_NONE incorrectly.
winreg does check the type in serialization_serde.rs, but the problem is, returning the DecodeResult with a error causes the entire deserialization to fail, even if the rest of the keys I'm attempting to extract are valid.
I modified line 39 of serialization_serde.rs to _ => no_impl!(format!("value type deserialization not implemented {:?}", v.vtype)),
so that I could confirm the error:
Problem opening the file: DecodeNotImplemented("value type deserialization not implemented REG_NONE")
The text was updated successfully, but these errors were encountered:
I'm doing something somewhat simple as enumerating the list of installed apps
// let apps: HashMap<String, InstalledApp> = uninstall_key.decode().unwrap_or_default();
let apps_result = uninstall_key.decode();
It turns out on my PC, one of the installed apps in the 32-bit view must have a key declared as REG_NONE incorrectly.
winreg does check the type in serialization_serde.rs, but the problem is, returning the DecodeResult with a error causes the entire deserialization to fail, even if the rest of the keys I'm attempting to extract are valid.
I modified line 39 of serialization_serde.rs to
_ => no_impl!(format!("value type deserialization not implemented {:?}", v.vtype)),
so that I could confirm the error:
Problem opening the file: DecodeNotImplemented("value type deserialization not implemented REG_NONE")
The text was updated successfully, but these errors were encountered: