Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package plexus-xml for openSUSE:Factory checked in at 2026-11-16 09:08:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plexus-xml (Old) and /work/SRC/openSUSE:Factory/.plexus-xml.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plexus-xml" Mon Nov 16 09:08:37 2026 rev:5 rq:1397615 version:3.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/plexus-xml/plexus-xml.changes 2026-09-11 18:07:08.784433062 +0200 +++ /work/SRC/openSUSE:Factory/.plexus-xml.new.1251/plexus-xml.changes 2026-11-16 09:14:16.443397673 +0100 @@ -1,0 +2,11 @@ +Sat Nov 14 15:09:11 UTC 2026 - Fridrich Strba <[email protected]> + +- Update to upstream version 3.1.1 + * Bug Fixes + + Guard the second buffer write in parseComment (3.x) + * Maintenance + + Guard the second buffer write in parseComment (3.x) + * Dependency updates + + Bump release-drafter/release-drafter from 7.7.0 to 7.10.0 + +------------------------------------------------------------------- Old: ---- plexus-xml-3.1.0.tar.gz New: ---- plexus-xml-3.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plexus-xml.spec ++++++ --- /var/tmp/diff_new_pack.aVmRf0/_old 2026-11-16 09:14:17.422438719 +0100 +++ /var/tmp/diff_new_pack.aVmRf0/_new 2026-11-16 09:14:17.424438803 +0100 @@ -17,7 +17,7 @@ Name: plexus-xml -Version: 3.1.0 +Version: 3.1.1 Release: 0 Summary: Plexus XML Utilities License: Apache-2.0 ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.aVmRf0/_old 2026-11-16 09:14:17.452439977 +0100 +++ /var/tmp/diff_new_pack.aVmRf0/_new 2026-11-16 09:14:17.455440103 +0100 @@ -1,6 +1,6 @@ -mtime: 1788882065 -commit: 2059a3bf559ce2239d9b187abd262e34da61d971875a820afbdce86b0700f218 +mtime: 1794669028 +commit: 33087624a3331b57b523a18b83ffb2760c679b9e325d481059fab264ff962bec url: https://src.opensuse.org/java-packages/plexus-xml -revision: 2059a3bf559ce2239d9b187abd262e34da61d971875a820afbdce86b0700f218 +revision: 33087624a3331b57b523a18b83ffb2760c679b9e325d481059fab264ff962bec projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-11-14 16:10:28.000000000 +0100 @@ -0,0 +1 @@ +.osc ++++++ plexus-xml-3.1.0.tar.gz -> plexus-xml-3.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plexus-xml-plexus-xml-3.1.0/.github/workflows/release-drafter.yml new/plexus-xml-plexus-xml-3.1.1/.github/workflows/release-drafter.yml --- old/plexus-xml-plexus-xml-3.1.0/.github/workflows/release-drafter.yml 2026-08-19 09:24:16.000000000 +0200 +++ new/plexus-xml-plexus-xml-3.1.1/.github/workflows/release-drafter.yml 2026-11-14 15:25:58.000000000 +0100 @@ -7,7 +7,7 @@ update_release_draft: runs-on: ubuntu-latest steps: - - uses: release-drafter/[email protected] + - uses: release-drafter/[email protected] with: # Resolved against .github/ on the branch this workflow runs on, not on the default branch. config-name: 'release-drafter-3.x.yml' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plexus-xml-plexus-xml-3.1.0/pom.xml new/plexus-xml-plexus-xml-3.1.1/pom.xml --- old/plexus-xml-plexus-xml-3.1.0/pom.xml 2026-08-19 09:24:16.000000000 +0200 +++ new/plexus-xml-plexus-xml-3.1.1/pom.xml 2026-11-14 15:25:58.000000000 +0100 @@ -24,7 +24,7 @@ </parent> <artifactId>plexus-xml</artifactId> - <version>3.1.0</version> + <version>3.1.1</version> <name>Plexus XML Utilities</name> <description>A collection of various utility classes to ease working with XML in Maven 3.</description> @@ -33,7 +33,7 @@ <scm> <connection>scm:git:https://github.com/codehaus-plexus/plexus-xml.git</connection> <developerConnection>${project.scm.connection}</developerConnection> - <tag>plexus-xml-3.1.0</tag> + <tag>plexus-xml-3.1.1</tag> <url>https://github.com/codehaus-plexus/plexus-xml/tree/${project.scm.tag}/</url> </scm> <issueManagement> @@ -49,7 +49,7 @@ <properties> <jmhVersion>1.37</jmhVersion> - <project.build.outputTimestamp>2026-08-19T07:24:11Z</project.build.outputTimestamp> + <project.build.outputTimestamp>2026-11-14T14:25:44Z</project.build.outputTimestamp> </properties> <dependencies> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plexus-xml-plexus-xml-3.1.0/src/main/java/org/codehaus/plexus/util/xml/pull/MXParser.java new/plexus-xml-plexus-xml-3.1.1/src/main/java/org/codehaus/plexus/util/xml/pull/MXParser.java --- old/plexus-xml-plexus-xml-3.1.0/src/main/java/org/codehaus/plexus/util/xml/pull/MXParser.java 2026-08-19 09:24:16.000000000 +0200 +++ new/plexus-xml-plexus-xml-3.1.1/src/main/java/org/codehaus/plexus/util/xml/pull/MXParser.java 2026-11-14 15:25:58.000000000 +0100 @@ -2450,6 +2450,7 @@ if (pcEnd >= pc.length) ensurePC(pcEnd); pc[pcEnd++] = cch; if (cch2 != 0) { + if (pcEnd >= pc.length) ensurePC(pcEnd); pc[pcEnd++] = cch2; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plexus-xml-plexus-xml-3.1.0/src/test/java/org/codehaus/plexus/util/xml/pull/MXParserTest.java new/plexus-xml-plexus-xml-3.1.1/src/test/java/org/codehaus/plexus/util/xml/pull/MXParserTest.java --- old/plexus-xml-plexus-xml-3.1.0/src/test/java/org/codehaus/plexus/util/xml/pull/MXParserTest.java 2026-08-19 09:24:16.000000000 +0200 +++ new/plexus-xml-plexus-xml-3.1.1/src/test/java/org/codehaus/plexus/util/xml/pull/MXParserTest.java 2026-11-14 15:25:58.000000000 +0100 @@ -52,6 +52,29 @@ * @throws java.lang.Exception if any. */ @Test + void commentSurrogatePairAtBufferBoundary() throws Exception { + MXParser parser = new MXParser(); + java.lang.reflect.Field pcField = MXParser.class.getDeclaredField("pc"); + pcField.setAccessible(true); + int pcLength = ((char[]) pcField.get(parser)).length; + + // The leading CR switches the parser to its parsed-content buffer, which then holds the + // normalised LF plus pcLength - 2 characters; the surrogate pair needs the last two slots. + StringBuilder comment = new StringBuilder("\r"); + for (int i = 0; i < pcLength - 2; i++) { + comment.append('a'); + } + comment.append("\uD83D\uDE00"); + + parser.setInput(new StringReader("<root><!--" + comment + "--></root>")); + + assertEquals(XmlPullParser.START_TAG, parser.nextToken()); + assertEquals(XmlPullParser.COMMENT, parser.nextToken()); + assertEquals("\n" + comment.substring(1), parser.getText()); + assertEquals(XmlPullParser.END_TAG, parser.nextToken()); + } + + @Test void hexadecimalEntities() throws Exception { MXParser parser = new MXParser(); ++++++ plexus-xml-build.xml ++++++ --- /var/tmp/diff_new_pack.aVmRf0/_old 2026-11-16 09:14:17.661448740 +0100 +++ /var/tmp/diff_new_pack.aVmRf0/_new 2026-11-16 09:14:17.664448865 +0100 @@ -8,7 +8,7 @@ <property name="project.groupId" value="org.codehaus.plexus"/> <property name="project.artifactId" value="plexus-xml"/> - <property name="project.version" value="3.1.0"/> + <property name="project.version" value="3.1.1"/> <property name="compiler.release" value="8"/> <property name="compiler.source" value="1.${compiler.release}"/>
