FLIP: Fix use-after-free and double frees with temporary transformations.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 21 May 2013 05:54:31 +0000 (22:54 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 21 May 2013 05:54:53 +0000 (22:54 -0700)
commit88d8c4b6f2da16263804c7819ebfa1257b32cb11
tree80bfac492cd3822348ec5f397e699f5168b3cf21
parentf5a7058281a9bb3954b1324c82a6e997b614ce35
FLIP: Fix use-after-free and double frees with temporary transformations.

I originally thought this was a bug in FLIP, but it turned out that in
fact we just hadn't ever really tested
proc_make_temporary_transformations_permanent() properly with actual
transformations, and especially with adding a transformation after calling
proc_make_temporary_transformations_permanent().

The modified test should avoid regression for the bug.

Bug #38832.
src/data/dataset.c
src/data/transformations.c
tests/language/stats/flip.at