office-gobmx/external/liborcus/forcepoint-95.patch.1
Caolán McNamara 0b9892fee9 forcepoint#95 read past end of malformed document
Change-Id: I8b2c558c733af3d7662f668af47e962e252ee339
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132311
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-30 16:19:53 +02:00

11 lines
315 B
Groff

--- a/include/orcus/sax_parser.hpp 2022-03-30 10:54:44.043568760 +0100
+++ b/include/orcus/sax_parser.hpp 2022-03-30 10:54:55.645037322 +0100
@@ -547,7 +547,7 @@
skip_space_and_control();
- char c = cur_char();
+ char c = cur_char_checked();
if (c != '=')
{
std::ostringstream os;