K 10 svn:author V 3 dim K 8 svn:date V 27 2022-02-09T17:29:14.297137Z K 7 svn:log V 622 Fix too small hostname buffer in bootparamd This fixes the following warning from clang 14: usr.sbin/bootparamd/bootparamd/bootparamd.c:204:32: error: 'fscanf' may overflow; destination buffer in argument 3 has size 255, but the corresponding specifier may require size 256 [-Werror,-Wfortify-source] The MAX_MACHINE_NAME macro indicates the maximum number of bytes in a machine name, but it does not include the NUL terminator required for scanf. MFC after: 3 days (cherry picked from commit d310bf3867b4168e57365196c3a31797c0538097) Git Hash: 4eebfbf0740cf337cc21d08367b57e047fb7b8d6 Git Author: dim@FreeBSD.org END