Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1(EOL), 10.2(EOL), 10.3(EOL)
-
None
Description
On Windows Server 2012 R2, in debug compiled mysqld (did not try optimized),
I see intermittent heap corruption when trying to use auth_gssapi authentication.
The line where it crashes is FreeContextAttrbutes() to free memory previously allocated previously with
QueryContextAttributes(ctxt, SECPKG_ATTR_NATIVE_NAMES, &native_names);
Apparently, FreeContextBuffer(&native_names) seems to be incorrect, since it refers
to structure on stack, rather than heap allocated by the structure members.