You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2021/02/03 08:48:00 UTC
[jira] [Updated] (THRIFT-5344) TTransport may throw raw pointer
exceptions
[ https://issues.apache.org/jira/browse/THRIFT-5344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-5344:
-------------------------------
Parent: THRIFT-5237
Issue Type: Sub-task (was: Bug)
> 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
> Priority: Major
>
> 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)