Hello,
On Sat, Dec 26, 2015 at 10:06 PM, Christian Boltz
wrote:
> Hello,
>
> if a profile file contains multiple profiles, aa-mergeprof crashes on
> saving in write_profile() because the second profile in the file is not
> listed in 'changed'.
>
> This patch first checks if
Hello,
Am Freitag, 12. Februar 2016, 03:26:36 CET schrieb Kshitij Gupta:
> On Sat, Dec 26, 2015, Christian Boltz wrote:
> > if a profile file contains multiple profiles, aa-mergeprof crashes
> > on
> > saving in write_profile() because the second profile in the file is
> >
Hello,
if a profile file contains multiple profiles, aa-mergeprof crashes on
saving in write_profile() because the second profile in the file is not
listed in 'changed'.
This patch first checks if 'changed' contains the profile before
pop()ing it.
Reproducer: copy utils/test/cleanprof_test.in