summaryrefslogtreecommitdiffstats
path: root/src/include/socket-utils.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2002-03-06 01:20:45 +0000
committerKen Raeburn <raeburn@mit.edu>2002-03-06 01:20:45 +0000
commitfb4848dba7869155383e349606e2bc3316d81755 (patch)
tree575cc58622ae2bcbae73fa6fed26095a5f98302e /src/include/socket-utils.h
parenta6dd61d852237a58a443194d60d51ef65033490b (diff)
downloadkrb5-fb4848dba7869155383e349606e2bc3316d81755.tar.gz
krb5-fb4848dba7869155383e349606e2bc3316d81755.tar.xz
krb5-fb4848dba7869155383e349606e2bc3316d81755.zip
* foreachaddr.c (SLOP): New macro.
(foreach_localaddr): Use it as the amount of extra space we look for past the ifreq structures actually filled in. Add SLOP to the size of the buffer allocated to hold the ifreq structures. Place an upper bound on the buffer size. Don't crash if the returned ifc_len is larger than the supplied buffer size. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14226 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/socket-utils.h')
0 files changed, 0 insertions, 0 deletions