In warn_if_nul_found, log surrounding context.
commit950d890f77d8f060702b100e6075d5083d536577
authorNick Mathewson <nickm@torproject.org>
Mon, 15 Apr 2019 19:33:09 +0000 (15 15:33 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 15 Apr 2019 19:33:09 +0000 (15 15:33 -0400)
treef8827fb31e79e2d5c124fd1d6c0016b39a9318d7
parent0c42ddf28c330280f66feb7cc92b63f3998468e1
In warn_if_nul_found, log surrounding context.

We need to encode here instead of doing escaped(), since fwict
escaped() does not currently handle NUL bytes.

Also, use warn_if_nul_found in more cases to avoid duplication.
src/feature/nodelist/microdesc.c