diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2002-03-06 01:20:45 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2002-03-06 01:20:45 +0000 |
| commit | fb4848dba7869155383e349606e2bc3316d81755 (patch) | |
| tree | 575cc58622ae2bcbae73fa6fed26095a5f98302e /src/kadmin/testing | |
| parent | a6dd61d852237a58a443194d60d51ef65033490b (diff) | |
| download | krb5-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/kadmin/testing')
0 files changed, 0 insertions, 0 deletions
