dalec
dalec copied to clipboard
[BUG] rpm: shell scripts should have macros escaped
Expected Behavior
No response
Actual Behavior
Currently it may be possible to inject custom macros or access things that we aren't expecting and potentially break the build (even accidentally) based on if some value matches an rpmbuild macro.
Steps To Reproduce
As an example: in a build step inject a macro like:
%install
# insert extra stuff not in the yaml artifact spec
Are you willing to submit PRs to contribute to this bug fix?
- [ ] Yes, I am willing to implement it.