[ https://issues.apache.org/jira/browse/THRIFT-5344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17277972#comment-17277972 ]
Mario Emmenlauer commented on THRIFT-5344: ------------------------------------------ The same PR, including a corresponding fix for the tests is in https://github.com/apache/thrift/pull/2320 > TTransport may throw raw pointer exceptions > ------------------------------------------- > > Key: THRIFT-5344 > URL: https://issues.apache.org/jira/browse/THRIFT-5344 > Project: Thrift > Issue Type: Sub-task > Components: C++ - Library > Reporter: Jens Geyer > Assignee: Zezeng Wang > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > throw raw pointer. > It will not be caught by try \{...} catch ( const TTransportException& ). > {code:java} > throw new TTransportException(TTransportException::END_OF_FILE, > "MaxMessageSize reached"); > {code} > see also > [THRIFT-5237 Implement MAX_MESSAGE_SIZE and consolidate limits into a > TConfiguration class (cpp) by zeshuai007 - Pull Request #2185 - > apache/thrift (github.com)|https://github.com/apache/thrift/pull/2185] > -- This message was sent by Atlassian Jira (v8.3.4#803005)