alibaba / alibaba/sentinel-cpp
Improve boundary checking in MetricSearcher/MetricReader
Open
kind/enhancement
- Dominant language
- C++
- Stars
- 148
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
## Issue Description
Type: *improvement*
### Describe what happened (or what feature you want)
Improve boundary checking for input stream in `MetricSearcher` and `MetricReader`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating MetricSearcher and MetricReader and trace how each reads from the input stream. Compare their current boundary checks with the stream limits, then verify that invalid or out-of-range input is handled safely and consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100