You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run: target/x86_64-unknown-linux-musl/debug/examples/killmyargv $(perl -e 'print "k" x 2048; print "K" x 2369') or cargo run --example killmyargv --target x86_64-unknown-linux-musl
Describe the bug
直接运行
target/x86_64-unknown-linux-musl/debug/examples/killmyargv
且导致长度大于等于 4476/4499(或者也需要 - 1) 时且超过一定范围后恢复正常
在环境变量字节数大于 5270 时通过
cargo run --example killmyargv --target x86_64-unknown-linux-musl
运行示例时To Reproduce
Steps to reproduce the behavior:
target/x86_64-unknown-linux-musl/debug/examples/killmyargv $(perl -e 'print "k" x 2048; print "K" x 2369')
orcargo run --example killmyargv --target x86_64-unknown-linux-musl
Expected behavior
在 new() 之后执行 argv_addrs() 扔出 InvalidArgvPointer 或者输出正确值
Platform (please complete the following information):
$ env
output: 有必要吗?Additional context
argv_addrs() 如何在 new() 之后仍然取得正确的原始地址?通过某种方式保存 argv 的 Meminfo 结构体以备后续使用?
The text was updated successfully, but these errors were encountered: