microsoft/msquic
Miss check for the return value of CXPLAT_ALLOC_NONPAGED and CxPlatPoolAlloc
Ouverte
#5 233 ouverte le 10 juil. 2025
Area: TestingHowFound: MSRTriagedgood first issuehelp wanted
Métriques du dépôt
- Stars
- (4 767 étoiles)
- Métriques de merge PR
- (Merge moyen 6j) (40 PRs mergées en 30 j)
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