You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Raul Gutierrez Segales (JIRA)" <ji...@apache.org> on 2015/11/08 22:42:10 UTC

[jira] [Commented] (ZOOKEEPER-2227) stmk four-letter word fails execution at server while reading trace mask argument.

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

Raul Gutierrez Segales commented on ZOOKEEPER-2227:
---------------------------------------------------

Merged (trunk and 3.5):

https://github.com/apache/zookeeper/commit/8f836e195025a540dab8eab6b52b9b30946e1c47
https://github.com/apache/zookeeper/commit/4c8f7181cbe41ef38753155b88bdd472a03980b7

[~cnauroth]: mind adding a patch for 3.4 (doesn't apply cleanly as is). Thanks!

> stmk four-letter word fails execution at server while reading trace mask argument.
> ----------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2227
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2227
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.3.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: 3.4.7, 3.5.2, 3.6.0
>
>         Attachments: ZOOKEEPER-2227.001.patch, ZOOKEEPER-2227.002.patch
>
>
> When the server handles the {{stmk}} four-letter word, it attempts to read an 8-byte Java {{long}} from the request as the trace mask argument.  The read fails, because the destination buffer's capacity is only 4 bytes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)