mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -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 {
|
||||
if ((buf = hydra_receive_line(sock)) == NULL) {
|
||||
/* no auth method identified */
|
||||
hydra_report(stderr, "[ERROR] no authentication methods can be identified %s\n", buf);
|
||||
free(buf);
|
||||
hydra_report(stderr, "[ERROR] no authentication methods can be identified\n");
|
||||
hydra_child_exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue