Skip to content

Conversation

@IgorKorkin
Copy link
Contributor

  • Applied fix in funcs: vbox_pnpentity_vboxname_wmi and vbox_pnpentity_controllers_wmi
  • Added VariantInit(&vtProp) before each property fetch to ensure safe initialization
  • Simplified loop termination and property-checking logic

Without this fix, tests occasionally triggered WerFault errors due to uninitialized VARIANT usage

  • Applied code style formatting
  • Minor fixes in Generic.cpp to avoid build warnings

@ayoubfaouzi
Copy link
Owner

Awesome catch ! Thanks for the PR.

I will make some pre-commit-hook and github-action to check for code style/formatting this week end.

@ayoubfaouzi ayoubfaouzi merged commit 490f270 into ayoubfaouzi:master Jan 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants