Commit bf227135 authored by Joel Hockey's avatar Joel Hockey Committed by Nick Wellnhofer
Browse files

Validate UTF8 in xmlEncodeEntities

Code is currently assuming UTF-8 without validating. Truncated UTF-8
input can cause out-of-bounds array access.

Adds further checks to partial fix in 50f06b3e.

Fixes #178
parent 1358d157
Pipeline #276659 passed with stage
in 17 minutes and 18 seconds