Closed njzjz closed 5 days ago
[!WARNING]
Rate limit exceeded
@njzjz has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 29 minutes and 14 seconds before requesting another review.
⌛ How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.🚦 How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.📥 Commits
Files that changed from the base of the PR and between 819eddfe57695ae2e7ced99fb3b10ce4e83cb129 and 01f0a7e3fd5f3e41ddfa31f88b736b2a5e81dee8.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Attention: Patch coverage is 0%
with 4 lines
in your changes missing coverage. Please review.
Project coverage is 60.16%. Comparing base (
819eddf
) to head (01f0a7e
). Report is 5 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
dpdispatcher/contexts/hdfs_context.py | 0.00% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fixes https://github.com/deepmodeling/dpdispatcher/security/code-scanning/3
To fix the problem, we need to ensure that the file paths within the tar archive are validated before extraction. Specifically, we should check that the paths do not contain any directory traversal elements (
..
) and are not absolute paths. This can be done by iterating over the members of the tar file and performing these checks before extraction.Steps to fix:
..
.Suggested fixes powered by Copilot Autofix. Review carefully before merging.