diff options
author | apb <apb@pkgsrc.org> | 2009-04-01 07:56:18 +0000 |
---|---|---|
committer | apb <apb@pkgsrc.org> | 2009-04-01 07:56:18 +0000 |
commit | 24ad50dd02b71e2e60b3dd408b801a50f38defe9 (patch) | |
tree | b4e958fdd03ec4d7869d18fcc6063df35cc02666 /net/rinetd | |
parent | 20742a4cc4bf10acd2860c4a0674c78910b54cb4 (diff) | |
download | pkgsrc-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