diff options
author | Amar Tumballi <amar@gluster.com> | 2010-08-04 05:47:31 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-06 03:37:11 -0700 |
commit | c6c504df9843d273805636df5f88aed8cde694b5 (patch) | |
tree | e4517b59b32f7ffea051ec213d13ad6438457253 /cli/src/cli3_1-cops.c | |
parent | 737782bb930dae296605d53ed8d25ee8dbb23d87 (diff) |
cli: fix a stack buffer overflow error
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1279 (Buffer overflow build error)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1279
Diffstat (limited to 'cli/src/cli3_1-cops.c')
-rw-r--r-- | cli/src/cli3_1-cops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli3_1-cops.c b/cli/src/cli3_1-cops.c index 4275adec88e..cfede807651 100644 --- a/cli/src/cli3_1-cops.c +++ b/cli/src/cli3_1-cops.c @@ -222,7 +222,7 @@ gf_cli3_1_get_volume_cbk (struct rpc_req *req, struct iovec *iov, dict_t *dict = NULL; char *volname = NULL; int32_t i = 1; - char key[256] = {0,}; + char key[1024] = {0,}; int32_t status = 0; int32_t type = 0; int32_t brick_count = 0; |