Commit 87d2cb6
Arun Kuruvila
Bug #19953365 MY_PRINT_DEFAULTS DOES NOT MASK PASSWORDS
Description : "my_print_defaults" does not mask the
password while printing it.
Analysis : "my_print_defaults" does not mask the password
value before printing while displaying all the config param
values.
Fix : In "my_print_defaults", the password arguments are
masked by default while printing. An new option,
"--show" has been introduced in this utility which is used
to print passwords without masking.
NOTE : mtr test case not added since '--password' option's
value cannot be specified at the command line.1 parent 44a901a commit 87d2cb6
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
| |||
203 | 207 | | |
204 | 208 | | |
205 | 209 | | |
206 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
207 | 216 | | |
208 | 217 | | |
209 | 218 | | |
| |||
0 commit comments