[krbdev.mit.edu #3911] SVN Commit

Ken Raeburn via RT rt-comment at krbdev.mit.edu
Tue Jun 20 19:59:17 EDT 2006


The calls to gethostbyname_r and friends were wrapped in macros that declared
automatic variables for the auxiliary storage needed, but the pointers returned
by the functions would be used outside of that scope, when the storage would no
longer be valid.

Changed the macro interfaces to define new types for the auxiliary storage, and
add a new argument to the macros referring to that storage.  Changed call sites
accordingly.


Commit By: raeburn



Revision: 18180
Changed Files:
U   trunk/src/util/support/fake-addrinfo.c
U   trunk/src/util/support/plugins.c




More information about the krb5-bugs mailing list