ty <zonyi...@gmail.com> added the comment:
Actually the OS will always trust the length has already contained the last NUL. The test I did in this issue: https://github.com/rust-lang/rust/issues/69061 showed that: 1. OS trusted the input length was set correctly, both `sun_len` and the length of `struct sockaddr_un`. 2. The `struct sockaddr_un` and length will be copied without changed to the other programs. 3. It could be reproduced by the Rust dev team. So it shouldn't be a problem in the testcase itself. Maybe we could discuss this on the Github's PR page? I am very sure that it could be reproduced. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44493> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com