commit | 27bee5adfadf98e0de5ac6005ccc3dbb98088d2a | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Tue Jan 25 13:05:53 2022 -0800 |
committer | Christopher Ferris <cferris@google.com> | Tue Jan 25 13:10:24 2022 -0800 |
tree | 76ac5ee543c21758b3051c79f712574f808380ef | |
parent | 632da0a501ff2d127f4ec8490bbd3ca96246a2f1 [diff] |
Fix exception when path not found. Add a default return value in a call in the GetLibraryByBuildId() function to avoid an exception if a file cannot be found in the symbol directory. Bug: 216232380 Test: Ran the input from the bug. Verified without the change, the Test: exception occurs and with the fix, no exception. Test: Ran unit tests of stack_core.py. Change-Id: I015982eb835f5a3d7f03dcc3e0b1627b0c1a7cfe