Check validity of using IA2 interface prior to using it
The ax_dump_events tool is crashing when IA2 not supported on an object. This checks that the queryInterface succeeded and that we hold a non-null IA2 pointer, before trying to use the IA2 pointer. Bug: None Change-Id: I4e2e2b469b0d891eac920fac1273436d28702f85 Reviewed-on: https://chromium-review.googlesource.com/1115561 Commit-Queue: Aaron Leventhal <aleventhal@chromium.org> Reviewed-by:Nektarios Paisios <nektar@chromium.org> Cr-Commit-Position: refs/heads/master@{#570541}
Showing
Please register or sign in to comment