RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Two deep flaws with macro expansions

From: Jeff Johnson <n3npq@mac.com>
Date: Fri 19 Dec 2008 - 00:53:19 CET
Message-id: <ABD7E9F9-CAD1-4B11-B59C-70755986E6A6@mac.com>

On Dec 18, 2008, at 5:35 PM, Jeff Johnson wrote:

> Proyvind was just asking abt integrating this (ancient iirc) Mandriva
> patch:
>
> http://www.zarb.org/cgi-bin/viewvc.cgi/snapshot/rpm/current/SOURCES/rpm-build-expand-field-for-single-token.patch?root=rpm5distro&view=log
>
> The issue is exactly the same macro expansion flaw discussed here
> 	http://rpm5.org/community/rpm-devel/2077.html
>
> Namely that arguments passed to parametrized macros are not expanded  
> before passing.
>

I think I missed the reference to previous discussion. This thread
looks more like what I meant:

     http://rpm5.org/community/rpm-devel/2044.html

Sorry for the confusion. The flaw is still that parameterized
macros are not expanded before being passed.

73 de Jeff

  • application/pkcs7-signature attachment: smime.p7s
Received on Fri Dec 19 00:54:47 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.