Skip to content

Conversation

lucas0817
Copy link
Contributor

This PR fixes the bug described in #2029.

In the following methods, propertyType is used to check an object's cimType. This works for non-inherited array properties but fails for inherited array properties, where propertyType equals cimType | Inherited (MS-WMIO 2.2.31 PropertyType).

Changed methods:

  • IWbemClassObject.createProperties
  • OBJECT_BLOCK.printClass
  • ENCODED_VALUE.getValue

@gabrielg5 gabrielg5 self-assigned this Sep 16, 2025
@anadrianmanrique anadrianmanrique added bug Unexpected problem or unintended behavior medium Medium priority item labels Sep 18, 2025
@gabrielg5 gabrielg5 merged commit 6df5b98 into fortra:master Sep 26, 2025
@gabrielg5
Copy link
Collaborator

Thank you @lucas0817 !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior medium Medium priority item
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants