Skip to content

EnumValues iterator doesn't correctly handle values whose name is invalid UTF-8 #80

@yotamofek

Description

@yotamofek

let name = match String::from_utf16(&name[..name_len as usize]) {

I think that EnumValues should impl Iterator<Item = Result<(OsString, RegValue)>> instead of using Strings for the value names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions