URL:
https://github.com/SSSD/sssd/pull/178
Title: #178: UTIL: Sanitize newline characters.
lslebodn commented:
"""
On (06/03/17 02:53), Victor Tapia wrote:
vtapia commented on this pull request.
> @@ -589,6 +589,14 @@ errno_t sss_filter_sanitize_ex(TALLOC_CTX *mem_ctx,
output[j++] = '5';
output[j++] = 'c';
break;
+ case '\n':
+ output[j++] = '\\';
+ output[j++] = '0';
+ output[j++] = 'd';
+ output[j++] = '\\';
Confirmed it reproduces with \r too. Committed with both \r and \n :)
Thank you very much for configrmation.
If you do not mind then I will squash patches before push.
LS
"""
See the full comment at
https://github.com/SSSD/sssd/pull/178#issuecomment-284376839