commit | db1b6f9ecb552d0337a1471305ad687084947d13 | [log] [tgz] |
---|---|---|
author | Dragan Dosen <ddosen@haproxy.com> | Mon Jul 25 11:35:02 2016 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jul 26 15:25:32 2016 +0200 |
tree | 0351bec3f41786148b7b53868d462ded525f7055 | |
parent | 1a5d06032b989f81c13dee32ea297ede6f1e8b94 [diff] |
BUG/MEDIUM: log: use function "escape_string" instead of "escape_chunk" In function lf_text_len(), we used escape_chunk() to escape special characters. There could be a problem if len is greater than the real src string length (zero-terminated), eg. when calling lf_text_len() from lf_text().