-
- Downloads
utils: Don't assume cmsg data is aligned suitably for struct ucred
As documented in cmsg(3), the alignment of control messages is not guaranteed, so for portability to architectures with strong alignment requirements we should memcpy to and from a suitably aligned instance of the desired data structure on the stack. Helps: https://github.com/containers/bubblewrap/issues/637 Signed-off-by:Simon McVittie <smcv@collabora.com>
parent
759517f8
No related branches found
No related tags found
Loading
Please register or sign in to comment