commit | c5631fc09666a9542d2882299d40500d18d1f68c | [log] [tgz] |
---|---|---|
author | Daniel Micay <danielmicay@gmail.com> | Tue Jan 12 16:54:44 2016 -0500 |
committer | Tao Bao <tbao@google.com> | Tue Jan 12 14:08:34 2016 -0800 |
tree | 859048a2d46b59a374a3eee9f9298e3b179b03db | |
parent | 6f8b9b60dbf2d73e0ee6e757d565035f017e1ccd [diff] |
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