fix: 修复 curl 测速异常输出导致的段错误 - #385
Merged
ccmywish merged 2 commits intoSep 1, 2026
Merged
Conversation
|
❤️ 感谢你的贡献!我们将在最少半小时,最多5天内阅读此 PR 并回复你 |
JIAFALSEDREAM
force-pushed
the
fix/cargo-speed-measure-crash
branch
from
September 1, 2026 04:07
a5d1c8e to
d9c85ac
Compare
Author
|
已按建议将改动收敛为 |
Contributor
|
最后可参考文档内容: 第一次贡献者 在 |
JIAFALSEDREAM
force-pushed
the
fix/cargo-speed-measure-crash
branch
from
September 1, 2026 05:19
c151522 to
d9c85ac
Compare
ccmywish
approved these changes
Sep 1, 2026
Contributor
|
👍👍👍 @JIAFALSEDREAM 欢迎成为贡献者!Happy Changing source~ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
测速遇到 curl 异常输出时会发生段错误:
xy_strcat()声明了 3 个参数,实际只传入 2 个,导致读取无效指针。修复
将该处改为
xy_2strcat()。修复后异常输出会被正常提示,测速可继续进行:Fixes #386