Eliminate segfault if device is not found

Make sure no nullptrs are dereferenced in teh HpkUpdater dtor when the
device is not found.

BUG=None
TEST=Manual

Change-Id: Iff33f956f511415f6ceedde836c950097c9a634b
Reviewed-on: https://chromium-review.googlesource.com/1808838
Tested-by: Kyle Williams <kdgwill@chromium.org>
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Matthew Ziegelbaum <ziegs@chromium.org>
1 file changed
tree: ea38e187087db442549e66c3e8b2a2b624968dd2
  1. conf/
  2. src/
  3. .gitignore
  4. Android.mk
  5. COMMIT-QUEUE.ini
  6. common.mk
  7. LICENSE
  8. Makefile
  9. OWNERS
  10. README.md
README.md

Huddly-updater is a utility to upgrade the huddly camera firmware.

Requirements

TODO: The GNU C library, libusb 1.0 and libudev are required.

Building

At the root of the repository,

$ make

Alternatively at Chromium OS development environment,

$ emerge-$${BOARD} huddly-updater

How to use

$ huddly-updater --help

TODO

It will also provide assistant tools to query the firmware version of the firmware installed in the huddly camera, that of a binary blob file.