mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-20 13:23:57 -07:00
vmauthd: don't use freed mem (found by ccc-analyzer).
This commit is contained in:
parent
bb734b2c90
commit
82be691b9d
1 changed files with 1 additions and 1 deletions
|
@ -108,8 +108,8 @@ void service_vmauthd(char *ip, int32_t sp, unsigned char options, char *miscptr,
|
||||||
hydra_child_exit(2);
|
hydra_child_exit(2);
|
||||||
}
|
}
|
||||||
if ((strstr(buf, "Version 1.00") == NULL) && (strstr(buf, "Version 1.10") == NULL)) {
|
if ((strstr(buf, "Version 1.00") == NULL) && (strstr(buf, "Version 1.10") == NULL)) {
|
||||||
free(buf);
|
|
||||||
hydra_report(stderr, "[ERROR] this vmware authd protocol is not supported, please report: %s\n", buf);
|
hydra_report(stderr, "[ERROR] this vmware authd protocol is not supported, please report: %s\n", buf);
|
||||||
|
free(buf);
|
||||||
hydra_child_exit(2);
|
hydra_child_exit(2);
|
||||||
}
|
}
|
||||||
//by default this service is waiting for ssl connections
|
//by default this service is waiting for ssl connections
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue