Fixed invalid read of size 8 in function FirstBackReference#5738
Merged
larsewi merged 1 commit intocfengine:masterfrom Mar 28, 2025
Merged
Fixed invalid read of size 8 in function FirstBackReference#5738larsewi merged 1 commit intocfengine:masterfrom
larsewi merged 1 commit intocfengine:masterfrom
Conversation
larsewi
commented
Mar 26, 2025
Contributor
craigcomstock
left a comment
There was a problem hiding this comment.
Seems like it would be good to mention where you saw this error.
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>
ba625a3 to
aecb4a2
Compare
Contributor
Author
olehermanse
approved these changes
Mar 27, 2025
craigcomstock
approved these changes
Mar 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Back-ported to: #5740