Project

General

Profile

Actions

Bug #4537

open

Validator doesn't properly handle exceptions from the callbacks

Added by Alex Afanasyev over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Security
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

When success/failure callback throws an error, ValidatorState stays in invalid state, subsequently asserting this in the destructor (as was the case in #4318). The validator needs to ensure validity of the state and re-throw the exception.

Actions

Also available in: Atom PDF