[dovecot/core] ca4c25: lib: Linux, OSX, etc: Avoid race conditions showin...
GitHub
noreply at github.com
Fri May 18 19:30:18 EEST 2018
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: ca4c2579f0456072bdb505932a9cf7602e42afd2
https://github.com/dovecot/core/commit/ca4c2579f0456072bdb505932a9cf7602e42afd2
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-05-18 (Fri, 18 May 2018)
Changed paths:
M src/lib/process-title.c
Log Message:
-----------
lib: Linux, OSX, etc: Avoid race conditions showing \xAB chars in ps title
With bad luck "ps" reads the process title when it hasn't been fully
written. Since the trailing NULs are written last and the previous code kept
the ps title otherwise filled with \xAB chars, this could have caused ps
to sometimes show the process title filled with \xAB chars (visible as '?')
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the dovecot-cvs
mailing list