• Jason Smith's avatar
    Make GenericSchemaDocument constructor explicit · 89915617
    Jason Smith authored
    Prior to this change, a user could incorrectly pass a Document object to
    SchemaValidator. This would implicitly construct a SchemaDocument, which
    would then be destructed before the validator was used. This caused
    unpredictable results including memory corruption and program crashes.
    89915617
schema.h 78.1 KB