dufucun

Results 3 issues of dufucun

### Describe Your Changes fix slice init length ### Checklist The following checks are **mandatory**: - [ ] My change adheres [VictoriaMetrics contributing guidelines](https://docs.victoriametrics.com/contributing/).

## Proposed commit message fix slice init length ## Checklist - [ ] My code follows the style guidelines of this project - [ ] I have commented my code,...

Team:Elastic-Agent-Data-Plane
backport-8.15
backport-8.x

PR Checklist ### PR Structure * [ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs). * [ ] This PR avoids mixing refactoring...