-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.1, 10.2, 10.3
-
Component/s: Authentication and Privilege System, Platform Windows, Plugins
-
Labels:None
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.