Skip to content
Snippets Groups Projects
Simon McVittie's avatar
Simon McVittie authored
The default for a FlatpakBwrap object is to copy the calling
environment as a base for the environment that it will build up.
However, that's wrong if we are going to merge more than one
FlatpakBwrap together: the merged FlatpakBwrap's argv will be appended
to the destination FlatpakBwrap, but the merged envp will overwrite the
corresponding variables in the destination.

Avoid this by making sure that every time we merge two FlatpakBwrap
objects, one of them has an empty environment.

Resolves: T23422
Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
07f02a83
History
Name Last commit Last update
..