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/include/ChangeLog | |
| 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/include/ChangeLog')
| -rw-r--r-- | src/include/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 9e5d7a358..b76eee762 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,12 @@ +2002-03-05 Ken Raeburn <raeburn@mit.edu> + + * 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. + 2002-02-22 Ken Raeburn <raeburn@mit.edu> * krb5.hin, k5-int.h: Use const instead of krb5_const. |
