diff options
-rwxr-xr-x | src/openac/openac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openac/openac.c b/src/openac/openac.c index 086db9e8b..e53567511 100755 --- a/src/openac/openac.c +++ b/src/openac/openac.c @@ -327,7 +327,7 @@ int main(int argc, char **argv) continue; case 'p': /* --key */ - if (strlen(optarg) > BUF_LEN) + if (strlen(optarg) >= BUF_LEN) { usage("passphrase too long"); goto end; |