Bug #92082 ODR violations in audit_log plugin
Submitted: 20 Aug 2018 11:31 Modified: 19 Sep 2018 18:59
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.7.24 OS:Any
Assigned to: CPU Architecture:Any

[20 Aug 2018 11:31] Tor Didriksen
Description:
==75180==ERROR: AddressSanitizer: odr-violation (0x00000342ee00):
[1] size=69 'deflate_copyright' /export/home/pb2/build/sb_0-30075649-1534657348.41/mysqlcom-pro-5.7.24/zlib/deflate.c:54:12 
[2] size=69 'deflate_copyright' /export/home/pb2/build/sb_0-30075649-1534657348.41/mysqlcom-pro-5.7.24/zlib/deflate.c:54:12

How to repeat:
build with clang and ASAN
./mtr --suite=audit_log

Suggested fix:
Backport fix from 8.0: don't link ssl/zlib into audit_log plugin unless we're on max/windows.
[19 Sep 2018 18:59] Paul DuBois
Posted by developer:
 
Fixed in 5.7.24.

Address Sanitizer revealed SSL/Zlib link problems related to the
audit_log plugin; these were corrected.