Skip to content

Use memset_s() instead of memset() to clear passwords #103

@ArisBee

Description

@ArisBee

I see here that the memset() function is used to clear passwords.

As passwords are sensitive information I would suggest to replace it with memset_s() so that they can't be recovered from memory.

More information on StakeOverflow: https://stackoverflow.com/questions/56565539/memset-s-what-does-the-standard-mean-with-this-piece-of-text

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions