Fixes in windows helpers by zwass · Pull Request #8549 · osquery/osquery

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@zwass

Copy link

Member

@zwass zwass commented

Feb 18, 2025

  • Fix a memory leak in getGroupSidFromUsername (leaked the allocated Sid buffer)
  • Improve Unicode support in psidToString by moving to ConvertSidToStringW
- Fix a memory leak in getGroupSidFromUsername (leaked the allocated Sid buffer)
- Improve Unicode support in psidToString by moving to ConvertSidToStringW

@zwass zwass requested review from a team as code owners

February 18, 2025 20:29
Copy link

Member

@Smjert Smjert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@directionless directionless merged commit f40809d into osquery:master

Feb 19, 2025

22 checks passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Smjert Smjert Smjert approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@zwass @Smjert @directionless