[Rpm-maint] [rpm-software-management/rpm] Fix short circuiting of version strings in expressions (PR #2101)

Michael Schroeder notifications at github.com
Wed Jun 22 12:09:47 UTC 2022


We use an empty string when discarding a value due to short circuiting, but
an empty string is not allowed for versions. So use "0" in that case.

Fixes: #1883
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix short circuiting of version strings in expressions

-- File Changes --

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

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2101
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2101 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220622/9a32c520/attachment.html>


More information about the Rpm-maint mailing list