[MDEV-17462] Heap corruption with auth_gssapi on Windows, in FreeContextAttributes() Created: 2018-10-15 Updated: 2018-11-22 Resolved: 2018-11-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System, Platform Windows, Plugins |
| Affects Version/s: | 10.1, 10.2, 10.3 |
| Fix Version/s: | 10.3.11, 10.1.37, 10.2.19 |
| Type: | Bug | Priority: | Major |
| Reporter: | Vladislav Vaintroub | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
On Windows Server 2012 R2, in debug compiled mysqld (did not try optimized), 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 |