forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "SQLite: Set printf() precision limits in production."
This reverts commit 389b0c0. Reason for revert: https://crbug.com/1212989 -- Turns out printf() is used internally in SQLite's schema parsing, and precision limits break it. Original change's description: > SQLite: Set printf() precision limits in production. > > This CL sets an explicit precision limit on printf() according to the > recommendations at > https://www.sqlite.org/compile.html#printf_precision_limit. > > printf() is Web-exposed in WebSQL since Chrome 91, so we have a short > window of opportunity to set limits, before Web properties start > depending on the function. These limits reduce the chance that a bug in > a site will accidentally OOM a renderer. > > Bug: 1211778 > Change-Id: Iff7221705761d5d5a1523051f4d6ca932da34492 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2911717 > Commit-Queue: Victor Costan <pwnall@chromium.org> > Commit-Queue: Darwin Huang <huangdarwin@chromium.org> > Auto-Submit: Victor Costan <pwnall@chromium.org> > Reviewed-by: Darwin Huang <huangdarwin@chromium.org> > Cr-Commit-Position: refs/heads/master@{#886041} Bug: 1211778 Change-Id: I61292fe3467e10f28d57b01c77efcfb3516ff1f4 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2917235 Auto-Submit: Victor Costan <pwnall@chromium.org> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#886323}
- Loading branch information
Showing
3 changed files
with
16 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 0 additions & 61 deletions
61
third_party/blink/web_tests/storage/websql/printf-oom.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters