microsoft/msquic
Vedi su GitHubMiss check for the return value of CXPLAT_ALLOC_NONPAGED and CxPlatPoolAlloc
Open
#5233 aperta il 10 lug 2025
Area: TestingHowFound: MSRTriagedgood first issuehelp wanted
Metriche repository
- Star
- (4712 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Description
There are several instances in the codebase where the return value of CXPLAT_ALLOC_NONPAGED and CxPlatPoolAlloc is not checked before being used.
Suggested Fix
Add a null check immediately after each CXPLAT_ALLOC_NONPAGED and CxPlatPoolAlloc call, and handle the failure case appropriately