-
Chris Davis authored
When importing bookmarks from an html file with a deep folder structure (>10k) we hit a stack overflow due to the recursive calls in JSONWriter. Fix is to check we do not exceed a max depth similar to JSONReader. Bug: 1007626,355722 Change-Id: Iedd9d543b7168a08af1a325059860d79d4900661 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1823809 Commit-Queue: Chris Davis <chrdavis@microsoft.com> Reviewed-by:
Gabriel Charette <gab@chromium.org> Reviewed-by:
Robert Sesek <rsesek@chromium.org> Reviewed-by:
Bruce Dawson <brucedawson@chromium.org> Cr-Commit-Position: refs/heads/master@{#703999}
3dece34c