commit | 156a8618372cda12eaff321c545d9126df225c0d | [log] [tgz] |
---|---|---|
author | Victor Hsieh <victorhsieh@google.com> | Thu Jun 17 12:47:17 2021 -0700 |
committer | Alan Stokes <alanstokes@google.com> | Tue Jun 22 08:13:48 2021 +0000 |
tree | c68e18a57ec9496abb2b5146a9b6965f04a36b9c | |
parent | ac97f3e110eb57824a2560888406e31cb157bd7b [diff] |
odrefresh: don't stage profile if not exists The code staged the file even if the open failed. This causes a null pointer dereference later in JoinFilesAsFDs (only used in the Compilaiton OS case). Bug: 186132447 Test: odrefresh --use-compilation-os=10 --force-compile # complete successfully with other changes Change-Id: I8227d863ea56e2a7071816130f6b354ac80d03ce