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

if rpmtdGetUint32 return NULL, return RPMRC_FAIL #1638

Closed
wants to merge 1 commit into from

Conversation

gaoyi1988
Copy link

Fixes: #1636

@ffesti ffesti self-assigned this Aug 17, 2021
@ffesti ffesti added DONT DO NOT merge, for whatever reason bug labels Aug 17, 2021
@ffesti
Copy link
Contributor

ffesti commented Aug 17, 2021

While the overall idea of checking the return of the DB query for the priority is the right one this patch has several issues. I'll try to come up with something along the same lines that avoid the issues (returing without freeing resources, breaking the transaction, using fprint instead of rpmlog, ...)

ffesti added a commit to ffesti/rpm that referenced this pull request Aug 24, 2021
pmatilai pushed a commit that referenced this pull request Aug 25, 2021
@pmatilai
Copy link
Member

Replaced by #1763, but thanks for the patch nevertheless.

@pmatilai pmatilai closed this Aug 25, 2021
mikhailnov pushed a commit to mikhailnov/rpm that referenced this pull request Sep 30, 2021
dmnks pushed a commit to dmnks/rpm that referenced this pull request Jun 7, 2022
dmnks pushed a commit to dmnks/rpm that referenced this pull request Jun 7, 2022
dmnks pushed a commit to dmnks/rpm that referenced this pull request Jun 7, 2022
dmnks pushed a commit to dmnks/rpm that referenced this pull request Jun 8, 2022
dmnks pushed a commit that referenced this pull request Jul 1, 2022
Resolves: #1636
Related: #1638
(cherry picked from commit fd57fc7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug DONT DO NOT merge, for whatever reason
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A Segmentation fault occurred when exec rpm -ivh
3 participants