Skip to content

Fixed invalid read of size 8 in function FirstBackReference (3.24.x)#5740

Merged
larsewi merged 1 commit intocfengine:3.24.xfrom
larsewi:package_commands_useshell-3.24.x
Mar 28, 2025
Merged

Fixed invalid read of size 8 in function FirstBackReference (3.24.x)#5740
larsewi merged 1 commit intocfengine:3.24.xfrom
larsewi:package_commands_useshell-3.24.x

Conversation

@larsewi
Copy link
Contributor

@larsewi larsewi commented Mar 27, 2025

This memory issue caused segmentation faults in the
package_commands_useshell.cf acceptance test on SPARC Solaris 11 after
upgrading PCRE2 to version 10.45. The memory issue was found with the
help of valgrind.

Signed-off-by: Lars Erik Wik lars.erik.wik@northern.tech
(cherry picked from commit aecb4a2)
Back-ported from: #5738

Build Status

This memory issue caused segmentation faults in the
package_commands_useshell.cf acceptance test on SPARC Solaris 11 after
upgrading PCRE2 to version 10.45. The memory issue was found with the
help of valgrind.

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
(cherry picked from commit aecb4a2)
@larsewi larsewi changed the title Fixed invalid read of size 8 in function FirstBackReference Fixed invalid read of size 8 in function FirstBackReference (3.24.x) Mar 27, 2025
@larsewi larsewi marked this pull request as ready for review March 27, 2025 08:53
Copy link
Contributor

@vpodzime vpodzime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@larsewi larsewi merged commit 9c230e5 into cfengine:3.24.x Mar 28, 2025
43 of 46 checks passed
@larsewi larsewi deleted the package_commands_useshell-3.24.x branch July 3, 2025 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants