diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-04-19 13:34:18 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-04-19 13:48:51 +0200 |
commit | 2bf1d44f7b1b41777b4bd7957154cba83cb37d69 (patch) | |
tree | 61b3c3472f58e4d4c9d4e1b3c3bb3d0d2633a1c3 /src | |
parent | 68e927513435432e7120264ef333e383bc602bb2 (diff) | |
download | strongswan-2bf1d44f7b1b41777b4bd7957154cba83cb37d69.tar.bz2 strongswan-2bf1d44f7b1b41777b4bd7957154cba83cb37d69.tar.xz |
openac: Fixed potential overflow while reading passphrase.
Diffstat (limited to 'src')
-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; |