microsoft / microsoft/krabsetw

Problem with determining the size of the property

Open
#182 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
801
Forks
167
Avg merge
3d 15m
Merged PRs (30d)
2

Description

Manifests itself on the provider Microsoft-Windows-USB-USBPORT.

Part of my log:

...
ETW PropertyName: fid_USBPORT_HC, Type: 3. Exception: Property size doesn't match requested size
ETW PropertyName: fid_USBPORT_HC_Idle_Status, Type: 9. Exception: Property size doesn't match requested size
ETW PropertyName: fid_USBPORT_HC, Type: 6. Exception: Property size doesn't match requested size
ETW PropertyName: fid_USBPORT_Device, Type: 12. Exception: Property size doesn't match requested size
ETW PropertyName: fid_USBPORT_Device_Descriptor, Type: 19. Exception: Failed to get a SID from a property
ETW PropertyName: fid_USBPORT_HC, Type: 6. Exception: Property size doesn't match requested size
ETW PropertyName: fid_USBPORT_Device, Type: 12. Exception: Property size doesn't match requested size
ETW PropertyName: fid_USBPORT_Device_Descriptor, Type: 19. Exception: Failed to get a SID from a property
ETW PropertyName: fid_USBPORT_HC, Type: 6. Exception: Property size doesn't match requested size
ETW PropertyName: fid_USBPORT_Device, Type: 12. Exception: Property size doesn't match requested size
ETW PropertyName: fid_USBPORT_Device_Descriptor, Type: 19. Exception: Failed to get a SID from a property
ETW PropertyName: fid_USBPORT_HC, Type: 4. Exception: Property size doesn't match requested size
ETW PropertyName: fid_USBPORT_Device, Type: 10. Exception: Property size doesn't match requested size
ETW PropertyName: fid_USBPORT_Endpoint, Type: 17. Exception: Property size doesn't match requested size
ETW PropertyName: fid_USBPORT_Endpoint_Descriptor, Type: 20. Exception: Property size doesn't match requested size
...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Microsoft-Windows-USB-USBPORT manifest linked in the issue and reproduce the reported ETW log. Trace how the listed properties are decoded and how property size and SID errors are handled; done means these properties are processed without the reported exceptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.