You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2009/05/14 00:38:45 UTC

[jira] Commented: (ZOOKEEPER-402) zookeeper c library segfaults on data for a node in zookeeper being null.

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709185#action_12709185 ] 

Mahadev konar commented on ZOOKEEPER-402:
-----------------------------------------

here is the code that seg faults:

{code}
     len = res.data.len;
1628                            } else {
1629                                len = sc->u.data.buff_len;
1630                            }
1631                            sc->u.data.buff_len = len;
1632                            memcpy(sc->u.data.buffer, res.data.buff, len);
1633                            sc->u.data.stat = res.stat;
1634                            deallocate_GetDataResponse(&res);
{code}


> zookeeper c library segfaults on data for a node in zookeeper being null.
> -------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-402
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-402
>             Project: Zookeeper
>          Issue Type: Bug
>    Affects Versions: 3.1.0, 3.1.1
>            Reporter: Mahadev konar
>            Assignee: Mahadev konar
>            Priority: Critical
>             Fix For: 3.2.0
>
>
> the zookeeper c client library seg faults on data being null for a zoo node. 

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