microsoft/msquic
Voir sur GitHubMiss check for the return value of CXPLAT_ALLOC_NONPAGED and CxPlatPoolAlloc
Open
#5 233 ouverte le 10 juil. 2025
Area: TestingHowFound: MSRTriagedgood first issuehelp wanted
Métriques du dépôt
- Stars
- (4 712 stars)
- Métriques de merge PR
- (Métriques PR en attente)
Description
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