You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Sebastian Zenker (JIRA)" <ji...@apache.org> on 2016/01/19 17:08:39 UTC
[jira] [Closed] (THRIFT-3564) C++/Qt: potential core dump in
TQTcpServer in case an exception occurs in TAsyncProcessor::process()
[ https://issues.apache.org/jira/browse/THRIFT-3564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebastian Zenker closed THRIFT-3564.
------------------------------------
> C++/Qt: potential core dump in TQTcpServer in case an exception occurs in TAsyncProcessor::process()
> ----------------------------------------------------------------------------------------------------
>
> Key: THRIFT-3564
> URL: https://issues.apache.org/jira/browse/THRIFT-3564
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library
> Affects Versions: 0.9.3, 0.9.4, 1.0
> Reporter: Sebastian Zenker
> Priority: Minor
> Labels: easyfix
> Fix For: 0.9.4
>
>
> It's undefined behaviour, if a Qt object (sender) get's deleted while executing on of it's slots. This can happen in case an exception occurs in TQTcpServer::beginDecode() as the call to ctxMap_.erase() will delete the sender of the Qt signal.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)