Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MergedTransaction: Fix invalid memory access when dropping items #1658

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

jan-kolarik
Copy link
Member

@jan-kolarik jan-kolarik commented Apr 23, 2024

When an item is dropped from the merged transaction, the previousItemPair reference becomes invalid and should no longer be used.

Related: #1644, rpm-software-management/dnf#2031
Closes: #1652.

@jrohel jrohel self-assigned this Apr 24, 2024
When an item is dropped from the merged transaction, the `ItemPair` reference becomes invalid and should no longer be used.
@jan-kolarik jan-kolarik force-pushed the jkolarik/fix-merge-transaction-on-item-erase branch from 9a345da to bea285c Compare April 24, 2024 12:02
@jrohel
Copy link
Contributor

jrohel commented Apr 24, 2024

Thanks

@jrohel jrohel merged commit 90d2ffa into dnf-4-master Apr 24, 2024
9 of 11 checks passed
@jrohel jrohel deleted the jkolarik/fix-merge-transaction-on-item-erase branch April 24, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

dnf history rollback cmd causes core dump
2 participants