aboutsummaryrefslogtreecommitdiff
path: root/src/tests/Makefile.in
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2024-10-11 12:45:13 +0200
committerGreg Hudson <ghudson@mit.edu>2024-10-18 15:43:06 -0400
commit038793c3083f44c4fb62626c12f80c80147029cf (patch)
treea8299e0b0bb45bcdeda45f26316f1bbe7fbcec9d /src/tests/Makefile.in
parentf14651a9fe94aca2bc2569848d931e4ba7a318a7 (diff)
downloadkrb5-master.zip
krb5-master.tar.gz
krb5-master.tar.bz2
Fix unlikely password change leakHEADmaster
In kpasswd_sendto_msg_callback(), if getsockname() does not reveal the local address, a copy of the first local address's contents is made and never freed. Instead of making an allocated copy of the address contents, make a shallow copy of the whole address. Delay freeing the address array until the end of the function so that alias pointer made by the shallow copy remains valid. [ghudson@mit.edu: further simplified code; rewrote commit message]
Diffstat (limited to 'src/tests/Makefile.in')
0 files changed, 0 insertions, 0 deletions