]> granicus.if.org Git - strace/commit
msghdr.c: fix printing SCM_RIGHTS array
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 30 Jun 2016 22:20:56 +0000 (22:20 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 30 Jun 2016 22:23:38 +0000 (22:23 +0000)
commit029d9797672ce8aabd269626dc2c7d72ac055983
tree5939192083da2735d1e090a843a79934beef9d03
parent6c30aecaf3a041f09294d46a2d4aa01de0f1987d
msghdr.c: fix printing SCM_RIGHTS array

* msghdr.c (print_scm_rights): Do not print array elements outside
bounds defined by struct cmsghdr.cmsg_len.
msghdr.c