diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-01 14:48:06 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-01 15:05:09 +0200 |
commit | 7647d1901ea2b34fafd95ecddf52905a3d314368 (patch) | |
tree | b3b0d7315b41034b745870a5e984c6f12f6728c4 /sysdeps/htl/bits/types/__thrd_t.h | |
parent | e11a6734c4607fee78a1c4fa16c8474f95270b74 (diff) | |
download | glibc-7647d1901ea2b34fafd95ecddf52905a3d314368.tar.gz glibc-7647d1901ea2b34fafd95ecddf52905a3d314368.tar.xz glibc-7647d1901ea2b34fafd95ecddf52905a3d314368.zip |
socket: Fix tst-cmsghdr-skeleton.c use of cmsg_len
cmsg_len is supposed to be socklen_t according to standards, but it was made size_t on Linux, see BZ 16919. For ports that have it socklen_t, SIZE_MAX is too large. We can however explicitly cast it to the type of cmsg_len so it will fit according to that type.
Diffstat (limited to 'sysdeps/htl/bits/types/__thrd_t.h')
0 files changed, 0 insertions, 0 deletions