[quagga-dev 16628] Re: Reproducibility problem

Nick Hilliard nick at foobar.org
Fri Jun 23 19:39:01 BST 2017


Gábor Boskovits wrote:
> The only problem seem, that the build is not reproducible.
> 
> I managed narrow that down to that generating vtysh_cmd.c is not
> deterministic.
> 
> At first I thought is is just an ordering issue.

It's just an ordering issue.  The reason for this behaviour is explained
here:

> http://perldoc.perl.org/perlsec.html#Algorithmic-Complexity-Attacks

If it bothers you, you can fix it by replacing all instances of "keys"
in vtysh/extract.pl by "sort keys".

Nick



More information about the Quagga-dev mailing list