Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/external/bsd/blocklist/lib



    Date:        Sun, 30 Mar 2025 01:38:51 +0000
    From:        Taylor R Campbell <riastradh%NetBSD.org@localhost>
    Message-ID:  <20250330013852.A346284EBF%mail.netbsd.org@localhost>


  | 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




Home | Main Index | Thread Index | Old Index