HomeFreeBSD

- snprintf() returns at most size-1 of the chars printed into

Description

  • snprintf() returns at most size-1 of the chars printed into the buffer. (n == hostlen) also means the buffer length was too short.
  • Use sdl->sdl_data only when (sdl->sdl_nlen > 0 && sdl->sdl_alen == 0) to prevent redundant output.

Details

Provenance
hrsAuthored on
Parents
rS287403: ioat: re-initialize interrupts after resetting hw on BDXDE
Branches
Unknown
Tags
Unknown