summaryrefslogtreecommitdiff
path: root/net/rinetd
diff options
context:
space:
mode:
authorapb <apb@pkgsrc.org>2009-04-01 07:56:18 +0000
committerapb <apb@pkgsrc.org>2009-04-01 07:56:18 +0000
commit24ad50dd02b71e2e60b3dd408b801a50f38defe9 (patch)
treeb4e958fdd03ec4d7869d18fcc6063df35cc02666 /net/rinetd
parent20742a4cc4bf10acd2860c4a0674c78910b54cb4 (diff)
downloadpkgsrc-24ad50dd02b71e2e60b3dd408b801a50f38defe9.tar.gz
Correct handling of the length of data returned by SIOCGIFCONF. The
actual length of each item is never less than sizeof(struct ifreq), but may be more than that. If the platform's struct sockaddr has an sa_len field, and if the length in sa_len is larger then the space available in ifr_ifru, then the data extends beyond the end of the ifr_ifru field by the difference in sizes.
Diffstat (limited to 'net/rinetd')
0 files changed, 0 insertions, 0 deletions