[Heimdal-source-changes] [heimdal/heimdal] 0c51e7: IPC: use getpeerucred() API correctly (#382)
GitHub
noreply at github.com
Sat May 12 06:45:29 CEST 2018
Branch: refs/heads/master
Home: https://github.com/heimdal/heimdal
Commit: 0c51e7c6abb2129e744cd932b2ccd013f2374214
https://github.com/heimdal/heimdal/commit/0c51e7c6abb2129e744cd932b2ccd013f2374214
Author: Luke Howard <lukeh at padl.com>
Date: 2018-05-12 (Sat, 12 May 2018)
Changed paths:
M lib/ipc/server.c
Log Message:
-----------
IPC: use getpeerucred() API correctly (#382)
The ucred_t argument must be initialized to zero otherwise it is assumed to
point to allocated memory. Also, the logic is inverted: getpeerucred()
returns zero on success, not failure.
Commit: fef64ade9fac66ae3e4d1f6cad0e9dda0af9235e
https://github.com/heimdal/heimdal/commit/fef64ade9fac66ae3e4d1f6cad0e9dda0af9235e
Author: Luke Howard <lukeh at padl.com>
Date: 2018-05-12 (Sat, 12 May 2018)
Changed paths:
M lib/ipc/common.c
Log Message:
-----------
IPC: fail gracefully in heim_ipc_cred_get_XXX if cred is NULL (#382)
Compare: https://github.com/heimdal/heimdal/compare/bd2c2eb8bdc6...fef64ade9fac
**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 Heimdal-source-changes
mailing list