Project

Profile

Help

Bug #6017

closed

interrupted by signal 11: SIGSEGV when PyDocumentBuilder.set_schema_validator is set to None

Added by O'Neil Delpratt 12 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
Python API
Start date:
2023-05-05
Due date:
% Done:

100%

Estimated time:
Found in version:
12.2
Fixed in version:
12.3
Platforms:

Description

It should be possible to set the PyDocumentBuilder.set_schema_validator to None, but the following code:

builder.set_schema_validator(None)

crashes as follows:

interrupted by signal 2: SIGINT

The method is missing a None check.

Actions #1

Updated by O'Neil Delpratt 12 months ago

  • Status changed from New to Resolved

Committed patch to the method.

Actions #2

Updated by O'Neil Delpratt 10 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 12.3

Bug fix applied in the SaxonC 12.3 maintenance release.

Please register to edit this issue

Also available in: Atom PDF