This commit is contained in:
van Hauser 2017-07-07 11:21:46 +02:00
parent 185021d474
commit 1a72fe023e
18 changed files with 60 additions and 66 deletions

View file

@ -451,6 +451,10 @@ int32_t service_ldap_init(char *ip, int32_t sp, unsigned char options, char *mis
// return codes:
// 0 all OK
// -1 error, hydra will exit, so print a good error message here
if (strlen(miscptr) > 220) {
fprintf(stderr, "[ERROR] the option string to this module may not be larger than 220 bytes\n");
return -1;
}
return 0;
}