Skip to content
Snippets Groups Projects
Commit 74451c9c authored by Aditya A's avatar Aditya A Committed by Surabhi Bhat
Browse files

Bug #32628376 BACKPORT FIX OF BUG 32335263 TO 5.6+


PROBLEM
-------
If the query contains password in plain text,
we have the query re-written immediately after
parsing and password string is replaced. However,
there is a unsafe window before rewrite is done
and in such case we should not display the plain
text password.

Affected queries are
SHOW PROCESSLIST;
SELECT ... FROM information_schema.processlist;

Solution:
---------
Fix this is to avoid displaying the
query string till re-write is over.

#rb 26092
#rb 26070

Reviewed-by: default avatarDebarun Bannerjee <debarun.bannerjee@oracle.com>
Reviewed-by: default avatarReviewed by: Dyre Tjeldvold <dyre.tjeldvoll@oracle.com>

(cherry picked from commit c7d0c5b6ee1cfc2a5328e9adf058857b43e0a091)
parent bebf3bf5
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment