Bug#1011251: maven-repo-helper: Infinite loop in POMReader.expandString()
Emmanuel Bourg
ebourg at apache.org
Wed May 18 21:40:28 BST 2022
Package: maven-repo-helper
Version: 1.10
Severity: normal
POMReader.expandString() runs into an infinite loop if the version of the POM
contains a variable named 'version'. Seen in javacc 7.0:
<?xml version="1.0"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>net.java.dev.javacc</groupId>
<artifactId>javacc</artifactId>
<packaging>jar</packaging>
<name>JavaCC</name>
<version>${version}</version>
<properties>
<version>7.0.0</version>
</properties>
More information about the pkg-java-maintainers
mailing list