[Rpm-maint] [rpm-software-management/rpm] Fix memory reading in the expansion of an unfinished macro "{%!" (#694)

pavlinamv notifications at github.com
Tue May 7 10:42:07 UTC 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190507/90a7ac66/attachment.html>


More information about the Rpm-maint mailing list