summaryrefslogtreecommitdiffstats
path: root/src/plugins/locate/python
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-06-20 23:59:11 +0000
committerKen Raeburn <raeburn@mit.edu>2006-06-20 23:59:11 +0000
commitf5f7c801239586dfa38519dac0b46c2b11d0f0d9 (patch)
tree5ab093e990c41a2d522c7542598242024bf31ac3 /src/plugins/locate/python
parent95d68c2a356ea86513446d24cd46facbcc0c8fef (diff)
downloadkrb5-f5f7c801239586dfa38519dac0b46c2b11d0f0d9.tar.gz
krb5-f5f7c801239586dfa38519dac0b46c2b11d0f0d9.tar.xz
krb5-f5f7c801239586dfa38519dac0b46c2b11d0f0d9.zip
getaddrinfo code uses vars outside of storage duration
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. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18180 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/plugins/locate/python')
0 files changed, 0 insertions, 0 deletions