Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29332959: Issue #1173 - Protect more entry points with try-catch blocks (Closed)

Created:
Dec. 22, 2015, 1:57 p.m. by Eric
Modified:
Jan. 7, 2016, 2:22 p.m.
Reviewers:
sergei, Oleksandr
CC:
Felix Dahlke
Visibility:
Public.

Description

Issue #1173 - Protect more entry points with try-catch blocks Add try-catch blocks to the bodies of 'CPluginClass' functions: 'QueryStatus()', 'Exec()', 'NewStatusProc()', 'PaneWindowProc()'

Patch Set 1 : #

Total comments: 8

Patch Set 2 : address comments #

Total comments: 3

Patch Set 3 : rebase only #

Patch Set 4 : Add log messages in new exception handlers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+324 lines, -297 lines) Patch
M src/plugin/PluginClass.cpp View 1 2 3 3 chunks +324 lines, -297 lines 0 comments Download

Messages

Total messages: 8
Eric
This is almost completely an indentation-change modification, since the only code change is to add ...
Dec. 22, 2015, 2:17 p.m. (2015-12-22 14:17:48 UTC) #1
Oleksandr
https://codereview.adblockplus.org/29332959/diff/29332966/src/plugin/PluginClass.cpp File src/plugin/PluginClass.cpp (right): https://codereview.adblockplus.org/29332959/diff/29332966/src/plugin/PluginClass.cpp#newcode1272 src/plugin/PluginClass.cpp:1272: return E_FAIL; // Nit: there was a comment intended ...
Jan. 4, 2016, 10:46 a.m. (2016-01-04 10:46:14 UTC) #2
sergei
https://codereview.adblockplus.org/29332959/diff/29332966/src/plugin/PluginClass.cpp File src/plugin/PluginClass.cpp (right): https://codereview.adblockplus.org/29332959/diff/29332966/src/plugin/PluginClass.cpp#newcode1359 src/plugin/PluginClass.cpp:1359: return E_FAIL; On 2016/01/04 10:46:13, Oleksandr wrote: > I ...
Jan. 4, 2016, 11:27 a.m. (2016-01-04 11:27:36 UTC) #3
Eric
Patch set 2 changes the error handling for window procedures. It also adds a comment ...
Jan. 4, 2016, 4:44 p.m. (2016-01-04 16:44:25 UTC) #4
Oleksandr
https://codereview.adblockplus.org/29332959/diff/29333139/src/plugin/PluginClass.cpp File src/plugin/PluginClass.cpp (right): https://codereview.adblockplus.org/29332959/diff/29333139/src/plugin/PluginClass.cpp#newcode1272 src/plugin/PluginClass.cpp:1272: return E_FAIL; // Suppress exceptions, should log Not really ...
Jan. 5, 2016, 2:06 a.m. (2016-01-05 02:06:38 UTC) #5
Eric
Patch set 3 is rebase only. Patch set 4 adds simple logging messages to the ...
Jan. 5, 2016, 3:59 p.m. (2016-01-05 15:59:44 UTC) #6
Oleksandr
Thanks, LGTM.
Jan. 5, 2016, 9:02 p.m. (2016-01-05 21:02:03 UTC) #7
sergei
Jan. 5, 2016, 10:34 p.m. (2016-01-05 22:34:51 UTC) #8
LGTM.

Powered by Google App Engine
This is Rietveld