[Rpm-maint] [rpm-software-management/rpm] Bunch of macro fixes and cleanups (#1062)

Panu Matilainen notifications at github.com
Mon Feb 10 11:54:51 UTC 2020

Fix double-expansion of arguments to built-in macros (except for %{expand:..} whose sole purpose is to double-expand) refactoring the more special cases out of doFoo() and fixing misc other related bugs in the process. Details in the individual commit messages.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Fix buffer overflow in %{S:...} and %{P:...} macro primitives
  * Fix %{uncompress:...} double-expanding arguments + other miscellania
  * Refactor %{expand:...} handling to its own function
  * Don't double-expand arguments to built-in macros (#311)
  * Refactor %{verbose:...} handling out of doFoo()

-- File Changes --

    M rpmio/macro.c (195)
    M tests/rpmmacro.at (20)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200210/5067c040/attachment.html>

More information about the Rpm-maint mailing list