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>tags/v1.20.1
|
|
||
27 |
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
|
30 |
|
|
30 |
|
31 |
|
31 |
|
32 |
|
32 |
|
33 |
|
|
|
||
91 |
|
92 |
|
92 |
|
93 |
|
93 |
|
94 |
|
|
95 |
|
|
|
96 |
|
|
|
97 |
|
|
94 |
|
98 |
|
95 |
|
99 |
|
96 |
|
100 |
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
103 |
|
104 |
|
104 |
|
105 |
|
105 |
|
106 |
|
|
|
||
211 |
|
212 |
|
212 |
|
213 |
|
213 |
|
214 |
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
|
|
218 |
|
|
|
219 |
|
|
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
|
223 |
|
|
|
224 |
|
|
|
225 |
|
|
|
226 |
|
|
|
227 |
|
|
|
228 |
|
|
|
229 |
|
|
|
230 |
|
|
|
231 |
|
|
|
232 |
|
|
|
233 |
|
|
|
234 |
|
|
|
235 |
|
|
|
236 |
|
|
214 |
|
237 |
|
215 |
|
238 |
|
216 |
|
239 |
|
|
|
||
223 |
|
246 |
|
224 |
|
247 |
|
225 |
|
248 |
|
|
249 |
|
|
226 |
|
250 |
|
227 |
|
251 |
|
|
252 |
|
|
228 |
|
253 |
|
229 |
|
254 |
|
230 |
|
255 |
|