mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-14 02:27:31 -07:00
vnc: fix use after-free (found by ccc-analyzer).
This commit is contained in:
parent
2d67764bbf
commit
995c6d2385
1 changed files with 1 additions and 1 deletions
|
@ -135,8 +135,8 @@ int32_t start_vnc(int32_t s, char *ip, int32_t port, unsigned char options, char
|
|||
return 3;
|
||||
return 1;
|
||||
default:
|
||||
free(buf);
|
||||
hydra_report(stderr, "[ERROR] unknown VNC server security result %d\n", buf[3]);
|
||||
free(buf);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue