[
https://issues.apache.org/jira/browse/CASSANDRA-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888586#action_12888586
]
Nate McCall commented on CASSANDRA-475:
---------------------------------------
Both TBinaryProtocol and TFramedTransport use the limits in checks only. The
size used to construct the byte[] is pulled from the first couple bytes of any
thrift message. When junk was sent, this size was getting intepreted as
extremely large values.
> sending random data crashes thrift service
> ------------------------------------------
>
> Key: CASSANDRA-475
> URL: https://issues.apache.org/jira/browse/CASSANDRA-475
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Eric Evans
> Assignee: Nate McCall
> Fix For: 0.7
>
> Attachments: trunk-475-config.txt, trunk-475-src-3.txt
>
>
> Use dd if=/dev/urandom count=1 | nc $host 9160 as a handy recipe for shutting
> a cassandra instance down.
> Thrift has spoken (see THRIFT-601), but "Don't Do That" is probably an
> insufficient answer for our users.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.