platform_bootable_recovery/uncrypt
Daniel Micay c5631fc096 uncrypt: avoid use-after-free
The `std::string package` variable goes out of scope but the input_path
variable is then used to access the memory as it's set to `c_str()`.

This was detected via OpenBSD malloc's junk filling feature.

Change-Id: Ic4b939347881b6ebebf71884e7e2272ce99510e2
2016-01-12 14:08:34 -08:00
..
Android.mk move uncrypt from init.rc to uncrypt.rc 2015-09-03 16:32:54 -07:00
uncrypt.cpp uncrypt: avoid use-after-free 2016-01-12 14:08:34 -08:00
uncrypt.rc move uncrypt from init.rc to uncrypt.rc 2015-09-03 16:32:54 -07:00