Bug #91604 stack-use-after-scope in _db_enter_() / mysql_select_db() detected by ASan
Submitted: 11 Jul 2018 19:03 Modified: 12 Jul 2018 8:02
Reporter: Yura Sorokin (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S2 (Serious)
Version:5.5.60 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

A contribution for this bug was already accepted. No new contributions can be submitted.

[11 Jul 2018 19:05] Yura Sorokin
A patch to make 5.5 code compilable with GCC 7.3/8.0

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Attachment: mysql_5_5_gcc_7_3_asan_fix.diff (application/octet-stream, text), 1.33 KiB.

[11 Jul 2018 19:13] Yura Sorokin
5.5 patch

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Attachment: bug91604_5_5.diff (application/octet-stream, text), 899 bytes.

[11 Jul 2018 19:54] Yura Sorokin
5.6 patch

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Attachment: bug91604_5_6.diff (application/octet-stream, text), 434 bytes.

[11 Jul 2018 19:56] Yura Sorokin
5.7 patch

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Attachment: bug91604_5_7.diff (application/octet-stream, text), 461 bytes.