microsoft/msquic
Miss check for the return value of CXPLAT_ALLOC_NONPAGED and CxPlatPoolAlloc
Aberta
#5.233 aberto em 10 de jul. de 2025
Area: TestingHowFound: MSRTriagedgood first issuehelp wanted
Métricas do repositório
- Stars
- (4.764 estrelas)
- Métricas de merge de PR
- (Mesclagem média 6d) (40 fundiu PRs em 30d)
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