Bug 2047653

Summary: tests/fuzz build failed
Product: Red Hat Enterprise Linux 9 Reporter: Tomas Pelka <tpelka>
Component: libxsltAssignee: David King <dking>
Status: CLOSED ERRATA QA Contact: Tomas Pelka <tpelka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0Keywords: Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libxslt-1.1.34-9.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 13:52:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Pelka 2022-01-28 08:27:56 UTC
Description of problem:
gcc -DHAVE_CONFIG_H -I. -I../..  -I../..  -I/usr/include/libxml2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wformat=2 -Wmissing-format-attribute -c -o fuzz.o fuzz.c
fuzz.c: In function 'xsltFuzzXPathInit':
fuzz.c:171:11: error: 'xmlXPathContext' {aka 'struct _xmlXPathContext'} has no member named 'maxParserDepth'
  171 |     xpctxt->maxParserDepth = 15;
      |           ^~
fuzz.c:172:11: error: 'xmlXPathContext' {aka 'struct _xmlXPathContext'} has no member named 'maxDepth'
  172 |     xpctxt->maxDepth = 100;
      |           ^~
fuzz.c: In function 'xsltSetXPathResourceLimits':
fuzz.c:305:9: error: 'xmlXPathContext' {aka 'struct _xmlXPathContext'} has no member named 'maxParserDepth'
  305 |     ctxt->maxParserDepth = 15;
      |         ^~
fuzz.c:306:9: error: 'xmlXPathContext' {aka 'struct _xmlXPathContext'} has no member named 'maxDepth'
  306 |     ctxt->maxDepth = 100;
      |         ^~
make[3]: *** [Makefile:467: fuzz.o] Error 1

Version-Release number of selected component (if applicable):
libxslt  1.1.34-8.el9

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 David King 2022-01-28 09:13:19 UTC
Upstream patches available.

Comment 5 errata-xmlrpc 2022-05-17 13:52:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: libxslt), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2604