Logging of dropped packets containing NUL bytes is broken
hessu opened this issue · 1 comments
hessu commented
The vsnprintf/snprintf functions used in hlog() stop string inclusion when a NUL is met. Thus, the logging of a dropped incoming packet stops at the first NUL, which can be confusing, especially if the packet is dropped because of the NUL.
Should translate binary characters to hex escapes.