Do not call GetResourceEntryCallback multiple times.
GetResourceEntryCallback is really on a once callback, and by processing multiple team drive entries in the loop we introduce a race condition that can cause a SIGSEGV in private_api_drive when the callback is fired multiple times. Followup work is to get the Deduplicated name for the team drive and store that as the path so that the lookup will only match once. Bug: 875140 Change-Id: I35e381aa82d7c34e200ddc44b085205115fadd86 Reviewed-on: https://chromium-review.googlesource.com/1179483Reviewed-by:Sam McNally <sammc@chromium.org> Commit-Queue: Stuart Langley <slangley@chromium.org> Cr-Commit-Position: refs/heads/master@{#583974}
Showing
Please register or sign in to comment