Skip Menu |
 

From: Sergey Ilinykh <rion4ik@gmail.com>
Date: Sun, 8 Apr 2018 21:04:59 +0500
Subject: TLS is not free on library unload
To: krb5-bugs@mit.edu
Hi

I was playing gssapiv2 plugin in Cyrus SASL compiled with Visual Studio 2015 x64 when noticed a crash on exit of my application. I checked the application with "Application Verifier" and found out kerberos libraries free TLS incorrectly (not everything). I found the error in the code and it looks like it's kind of result of copy'n'paste in the middle of night :-)

More details in their bug tracker on github https://github.com/cyrusimap/cyrus-sasl/issues/509#issuecomment-379560555


Best Regards,
Sergey
From: ghudson@mit.edu
Subject: git commit

Fix small leak in wshelper DLL

Remove a double initialization of dwHesPwUidIndex in wshelper which
caused the first initialization to leak a thread-local storage handle.
Reported by Sergey Ilinykh.

https://github.com/krb5/krb5/commit/0c013d6bc018d5be9f694ce80a27de740628133d
Author: Greg Hudson <ghudson@mit.edu>
Commit: 0c013d6bc018d5be9f694ce80a27de740628133d
Branch: master
src/util/wshelper/dllmain.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)