Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
465aac14
Commit
465aac14
authored
May 08, 2018
by
Philipp Schafft
🦁
Browse files
Fix: Do not report hashed user passworts in user list.
parent
8f4b742d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/auth_htpasswd.c
View file @
465aac14
...
...
@@ -391,7 +391,6 @@ static auth_result htpasswd_userlist(auth_t *auth, xmlNodePtr srcnode)
htpasswd_user
*
user
=
(
htpasswd_user
*
)
node
->
key
;
newnode
=
xmlNewChild
(
srcnode
,
NULL
,
XMLSTR
(
"user"
),
NULL
);
xmlNewTextChild
(
newnode
,
NULL
,
XMLSTR
(
"username"
),
XMLSTR
(
user
->
name
));
xmlNewTextChild
(
newnode
,
NULL
,
XMLSTR
(
"password"
),
XMLSTR
(
user
->
pass
));
node
=
avl_get_next
(
node
);
}
thread_rwlock_unlock
(
&
state
->
file_rwlock
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment