v1 gets double-freed when there's an error parsing the result side
of the ternary operator. Add testcases to go, one that catches the
actual error and another which serves to demonstrate that the false
branch doesn't get parsed at all, errors or no.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/847

-- Commit Summary --

  * Fix double-free on ternary operator parsing error

-- File Changes --

    M rpmio/expression.c (2)
    M tests/rpmmacro.at (3)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/847.patch
https://github.com/rpm-software-management/rpm/pull/847.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/847
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to