about summary refs log tree commit diff
path: root/sysdeps/htl/pt-attr-setscope.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-01 14:48:06 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-01 15:05:09 +0200
commit7647d1901ea2b34fafd95ecddf52905a3d314368 (patch)
treeb3b0d7315b41034b745870a5e984c6f12f6728c4 /sysdeps/htl/pt-attr-setscope.c
parente11a6734c4607fee78a1c4fa16c8474f95270b74 (diff)
downloadglibc-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/pt-attr-setscope.c')
0 files changed, 0 insertions, 0 deletions