• Arun Kuruvila's avatar
    Bug #18163964 PASSWORD IS VISIBLE WHILE CHANGING IT FROM · 2dbebf77
    Arun Kuruvila authored
                  MYSQLADMIN IN PROCESSES LIST
    
    Description: Checking the process status (with ps -ef)  
    while executing "mysqladmin" with old password and new 
    password via command-line will show the new password in the
    process list sporadically.
    
    Analysis: The old password is being masked by "mysqladmin".
    So masking the new password in the similar manner would 
    reduce hitting the bug. But this would not completely fix
    the bug, because if "ps -ef " command hits the mysqladmin
    before it masks the passwords it will show both the old and
    new passwords in the process list. But the chances of
    hitting this is very less.
    
    Fix: The new password also masked in the similar manner
    that of the --password argument.
    2dbebf77
mysqladmin.cc 41.8 KB