Problem was in reading of the memory right after the end of the allocated area. (Similar problem as in commit 54f24ec5486bdacde9419466a2c27defaddf508e).
This is a good opportunity to reflector the corresponding code (setting variables according to the number of exclamation marks and interrogation marks after % an before the macro). You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/694 -- Commit Summary -- * Fix memory reading in the expansion of an unfinished macro "{%!" -- File Changes -- M rpmio/macro.c (38) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/694.patch https://github.com/rpm-software-management/rpm/pull/694.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/694
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint