mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
more pre-8.0 fixes
This commit is contained in:
parent
ebbd664e07
commit
163a499bfe
18 changed files with 74 additions and 76 deletions
|
@ -145,7 +145,7 @@ void service_irc(char *ip, int sp, unsigned char options, char *miscptr, FILE *
|
|||
}
|
||||
|
||||
buffer[0] = 0;
|
||||
if ((ret = hydra_recv(sock, buffer, sizeof(buffer))) >= 0)
|
||||
if ((ret = hydra_recv(sock, buffer, sizeof(buffer) - 1)) >= 0)
|
||||
buffer[ret] = 0;
|
||||
|
||||
/* ERROR :Bad password */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue