microsoft/msquic
Ver no GitHubMiss check for the return value of CXPLAT_ALLOC_NONPAGED and CxPlatPoolAlloc
Open
#5.233 aberto em 10 de jul. de 2025
Area: TestingHowFound: MSRTriagedgood first issuehelp wanted
Métricas do repositório
- Stars
- (4.712 stars)
- Métricas de merge de PR
- (Métricas PR pendentes)
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