commit | d80e3eca9bbd0b0e9dbd26f39a018f02f224d45a | [log] [tgz] |
---|---|---|
author | Greg Kerr <kerrnel@chromium.org> | Mon May 01 21:56:58 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Tue May 02 02:18:18 2017 |
tree | 78a8b1f4b037e5474b0cc6e6d9790ac36a8fb5a1 | |
parent | 3653d2336b22d24822d37e07c88edbf06de3c444 [diff] |
Initialize OpenSSL temporary pointer to nullptr. Per https://www.openssl.org/docs/faq.html#PROG3, the temporary variable passed to i2d_PUBKEY must be initialized to NULL, or the OpenSSL API thinks it is a valid buffer that was already allocated. BUG=chromium:717030 TEST=autotest platform_ImageLoaderServer Change-Id: I77c668f2da3346a77be8c0efbbd3185a217de0fd Reviewed-on: https://chromium-review.googlesource.com/491989 Commit-Ready: Greg Kerr <kerrnel@chromium.org> Tested-by: Greg Kerr <kerrnel@chromium.org> Reviewed-by: Eric Caruso <ejcaruso@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org>
This aims to provide a generic utility to verify and load (mount) signed disk images through DBUS IPC.
imageloader
imageloader
handles the mounting of disk images. imageloader
should be executed via the imageloader_wrapper
script, which ensures that imageloader's storage exists and is owned by imageloaderd
user. When imageloader
is not running, DBus will automatically invoke it. After 20 seconds of inactivity, the service exits.