On Aug 6, 2013, at 12:51 PM, devzero2000 wrote:

> This produce a core dump (also on rpm 5.4.10)
> 
> rpm -E '%{lua}'
> 
> this produce a malloc failed 
> 
> rpm -E '%{perl}' ( I think the all the builtin - git , python - without the 
> body do the same ).
> 
> (not so interesting as a bug but i hope useful to tell anyway)
> 

You know where launchpad.net/rpm bugs are to be reported.

> But but what should be the right result ?
> 

Depends on POV. Neither of those commands is syntactically well formed.

In both cases its %{lua:...} not '%{lua} which is needed.

Meanwhile -- since "fuzz busting" is the new development paradigm --
the likeliest common expectation for parsing is
        No surprises (like segfaults).
no matter what is actually implemented.

I also have a hard time caring about -E issues: rpm does quite a bit more than
expand macros for developers to scrutinize the output.

73 de Jeff

______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to