mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-14 02:27:31 -07:00
Remove null pointer dereference
This commit is contained in:
parent
66562bd73c
commit
e95e036bbf
1 changed files with 1 additions and 2 deletions
|
@ -338,8 +338,7 @@ void service_xmpp(char *target, char *ip, int sp, unsigned char options, char *m
|
||||||
do {
|
do {
|
||||||
if ((buf = hydra_receive_line(sock)) == NULL) {
|
if ((buf = hydra_receive_line(sock)) == NULL) {
|
||||||
/* no auth method identified */
|
/* no auth method identified */
|
||||||
hydra_report(stderr, "[ERROR] no authentication methods can be identified %s\n", buf);
|
hydra_report(stderr, "[ERROR] no authentication methods can be identified\n");
|
||||||
free(buf);
|
|
||||||
hydra_child_exit(1);
|
hydra_child_exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue