summaryrefslogtreecommitdiffstats
path: root/src/tests/cbc_test.c
diff options
context:
space:
mode:
authorMichael Brown2014-05-16 14:45:52 +0200
committerMichael Brown2014-05-16 14:45:52 +0200
commite5878ce65db229e495adf9492233daa78c2eb0b7 (patch)
tree42a584f11196cc025524efcfaf691a3f3bd7011f /src/tests/cbc_test.c
parent[intel] Increase receive ring fill level (diff)
downloadipxe-e5878ce65db229e495adf9492233daa78c2eb0b7.tar.gz
ipxe-e5878ce65db229e495adf9492233daa78c2eb0b7.tar.xz
ipxe-e5878ce65db229e495adf9492233daa78c2eb0b7.zip
[syslog] Strip invalid characters from hostname
Avoid generating syntactically invalid log messages by ensuring that invalid characters are not present in the hostname. In particular, ensure that any whitespace is stripped, since whitespace functions as a field separator for syslog messages. Reported-by: Alex Davies <adavies@jumptrading.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests/cbc_test.c')
0 files changed, 0 insertions, 0 deletions