microsoft / microsoft/win32metadata
Exempt OleConvertIStorageToOLESTREAM / OleConvertIStorageToOLESTREAMEx from returning OLESTREAM
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.5k
- Forks
- 149
- Avg merge
- 5d 16h
- Merged PRs (30d)
- 4
Description
### Summary
With these functions it's customary to write the OLESTREAM and its associated vtable yourself. The current API prohibits this by writing to a zeroed instance of OLESTREAM (causing a nullptr deref) without giving the user the opportunity to fill out the vtable / struct contents.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the metadata or generation entries for OleConvertIStorageToOLESTREAM and OleConvertIStorageToOLESTREAMEx, then inspect how their OLESTREAM parameters are represented. Confirm the generated API permits callers to provide the OLESTREAM and associated vtable without the current zeroed-instance write or null dereference. No specific files or tests are named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100