Date: Sun, 30 Mar 2025 01:38:51 +0000 From: Taylor R Campbell <riastr...@netbsd.org> Message-ID: <20250330013852.a346284...@mail.netbsd.org>
| but it leaves the bytes bi->bi_msg[rem], bi->bi_msg[rem + 1], | bi->bi_msg[rem + 2] ..., bi->bi_msg[sizeof(bi->bi_msg) - 2] | uninitialized, I don't think it did actually, there's an earlier memset() which clears all of *bi so any bytes that aren't written should have been \0 anyway. But your (and what's currently committed) is better than the previous version. kre