bug in sendmsg and recvmsg on linux in libc-2.0.95

Andreas Jaeger aj@arthur.rhein-neckar.de
Thu Apr 1 00:00:00 GMT 1999


>>>>> Stig Venaas writes:

Stig> 	In glibc-2.0.95/sysdeps/unix/sysv/linux/sendmsg.c there's a check
Stig> 	for cm->cmsg_type == SCM_CREDS. This is done without checking
cm-> cmsg_level. AFAIK, cmsg_type == 2 does only mean SCM_CREDS at
Stig> 	the socket level, that is cmsg_level == 1 (SOL_SOCKET). The same
Stig> 	goes for glibc-2.0.95/sysdeps/unix/sysv/linux/recvmsg.c.

2.0.95 is quite old, the current glibc test release is 2.0.109 and
doesn't contain the mentioned files and code at all anymore.

All the best for 1999,
Andreas
-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de



More information about the Libc-alpha mailing list