[Rpm-maint] [rpm-software-management/rpm] rpm leaks \x1f at argument boundaries in %global ... %(... %{?**}) (Issue #3145)

Michael Schroeder notifications at github.com
Wed Jun 5 09:03:18 UTC 2024


See https://bugzilla.redhat.com/show_bug.cgi?id=2284187

Reproducer taken from comment #4:
```
$ cat prinargv.py 
import sys
print(sys.argv)
$ rpm --eval '%define macro(e:) %{-e:%global toxenv %(%{__python3} -s ./prinargv.py %{?**})}'  --eval '%macro -e1 -e 2' --eval '%toxenv'


['./prinargv.py', '\x1f-e1\x1f', '\x1f-e\x1f', '\x1f2\x1f']

```

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

Message ID: <rpm-software-management/rpm/issues/3145 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240605/1c5e6ff5/attachment.html>


More information about the Rpm-maint mailing list