diff options
author | Bill Richardson <wfrichar@google.com> | 2011-04-08 15:27:53 -0700 |
---|---|---|
committer | Bill Richardson <wfrichar@google.com> | 2011-04-08 15:27:53 -0700 |
commit | 624ee7e492b39ac559a94de9fdd65bf72d2a514c (patch) | |
tree | 01c103589f92ffd58051bdd7d162e5b18c22f82c /scripts/newbitmaps/images/1366x768/localized_bitmaps/uk/insert.bmp | |
parent | 6e567a10e29fb4e23d394388064a6304072b6daa (diff) | |
download | vboot-624ee7e492b39ac559a94de9fdd65bf72d2a514c.tar.gz |
Address symlink attack on dev_debug_vboot.
Two things here: Use mktemp to create a unique and new temporary directory
to work in, and copy the published log file to a known path in a way that
can't be redirected with symlinks.
There are also a couple of minor tweaks to cleanup a little bit rot in the
information that the script provides.
BUG=chromium-os:8947
TEST=manual
Boot, wait 60 seconds, look for "/tmp/debug_vboot_noisy.log". It should
exist and contain useful and interesting data.
Change-Id: Iff9c5c86802ab7fcf3342e82ba128a1795dba16d
R=rspangler@chromium.org,wad@chromium.org,gauravsh@chromium.org
Review URL: http://codereview.chromium.org/6824018
Diffstat (limited to 'scripts/newbitmaps/images/1366x768/localized_bitmaps/uk/insert.bmp')
0 files changed, 0 insertions, 0 deletions