Guard against stack overflow during initial sync of bookmarks
This change adds stack overflow protection for the recursive call to build the bookmarks tree. The depth of the tree is limited to 200 as we do for importing bookmarks. Anything deeper than this is silently ignored in the sync operation. Bug: 1093190 Change-Id: Id0cab5097aadc9068a77578ec4c39de536d3818a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2246791 Commit-Queue: Chris Davis <chrdavis@microsoft.com> Reviewed-by:Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#783054}
Showing
Please register or sign in to comment