Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
af2c0ebb
...
af2c0ebbab6f2e93415d035039104b8be6b44799
authored
2003-08-30 10:17:38 +0000
by
Wojciech Polak
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(POP_AUTH_USER_ACK): Protect password in debug mode (PASS ***).
1 parent
e4730047
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
mailbox/pop/mbox.c
mailbox/pop/mbox.c
View file @
af2c0eb
...
...
@@ -514,7 +514,7 @@ _pop_user (authority_t auth)
CHECK_ERROR_CLOSE
(
mbox
,
mpd
,
MU_ERR_NOPASSWORD
);
}
status
=
pop_writeline
(
mpd
,
"PASS %s
\r\n
"
,
mpd
->
passwd
);
MAILBOX_DEBUG0
(
mbox
,
MU_DEBUG_PROT
,
mpd
->
buffer
);
MAILBOX_DEBUG0
(
mbox
,
MU_DEBUG_PROT
,
"PASS ***
\n
"
);
/* Leave not trail of the passwd. */
memset
(
mpd
->
passwd
,
'\0'
,
strlen
(
mpd
->
passwd
));
free
(
mpd
->
passwd
);
...
...
Please
register
or
sign in
to post a comment