[jira] Updated: (ZOOKEEPER-183) Array subscript is above array bounds in od_completion(), src/cli.c.

2008-10-14 Thread Patrick Hunt (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-183:
---

   Resolution: Fixed
Fix Version/s: 3.0.0
 Hadoop Flags: [Reviewed]
   Status: Resolved  (was: Patch Available)

Committed revision 704662.

 Array subscript is above array bounds in od_completion(), src/cli.c.
 

 Key: ZOOKEEPER-183
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-183
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
 Environment: Linux
Reporter: Maxim P. Dementiev
Assignee: Maxim P. Dementiev
 Fix For: 3.0.0

 Attachments: ZOOKEEPER-183.patch


 Having:
 char buf[4096*16];
 Present:
 buf[sizeof(buf)]=0;
 Must be:
 buf[sizeof(buf)-1]=0;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (ZOOKEEPER-183) Array subscript is above array bounds in od_completion(), src/cli.c.

2008-10-13 Thread Maxim P. Dementiev (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim P. Dementiev updated ZOOKEEPER-183:
-

Comment: was deleted

 Array subscript is above array bounds in od_completion(), src/cli.c.
 

 Key: ZOOKEEPER-183
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-183
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
 Environment: Linux
Reporter: Maxim P. Dementiev

 Having:
 char buf[4096*16];
 Present:
 buf[sizeof(buf)]=0;
 Must be:
 buf[sizeof(buf)-1]=0;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.