Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP5:Update
htmldoc.18643
htmldoc-CVE-2024-46478.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File htmldoc-CVE-2024-46478.patch of Package htmldoc.18643
Index: htmldoc-1.9.16/htmldoc/ps-pdf.cxx =================================================================== --- htmldoc-1.9.16.orig/htmldoc/ps-pdf.cxx +++ htmldoc-1.9.16/htmldoc/ps-pdf.cxx @@ -5695,10 +5695,13 @@ parse_pre(tree_t *t, /* I - Tree to par case MARKUP_NONE : for (lineptr = line, dataptr = start->data; - *dataptr != '\0' && lineptr < (line + sizeof(line) - 1); + *dataptr != '\0' && lineptr < (line + sizeof(line) - 9); dataptr ++) + { if (*dataptr == '\n') + { break; + } else if (*dataptr == '\t') { /* This code changed after 15 years to work around new compiler optimization bugs (Issue #349) */ @@ -5713,6 +5716,7 @@ parse_pre(tree_t *t, /* I - Tree to par *lineptr++ = *dataptr; col ++; } + } *lineptr = '\0';
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor