summaryrefslogtreecommitdiffstats
path: root/base/sequenced_task_runner.h
diff options
context:
space:
mode:
authoricoolidge <icoolidge@chromium.org>2015-04-01 00:03:22 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-01 07:04:08 +0000
commit82cb6b003c8e20e4a8386bf8698980bb4981d434 (patch)
tree3e67ec25415c3713b07e1d6154d340ac5f1764f9 /base/sequenced_task_runner.h
parent6119a59cd027dc95156d29c3d922d673e55ad1f5 (diff)
downloadchromium_src-82cb6b003c8e20e4a8386bf8698980bb4981d434.zip
chromium_src-82cb6b003c8e20e4a8386bf8698980bb4981d434.tar.gz
chromium_src-82cb6b003c8e20e4a8386bf8698980bb4981d434.tar.bz2
Fix OutOfMemoryDeathTest.ViaSharedLibraries.
This test was invalid on modern glibc: asprintf errors EOVERFLOW without attempting an allocation when the size is at least INT_MAX - 32. INT_MAX - 33 is the largest size that can attempt to trigger allocation failure, and will not necessarily accomplish that on some systems. Create a library that is specified to wrap malloc trivially, to accomplish the goal of the test without external dependencies or inconsistently implemented behavior. BUG=428211 Review URL: https://codereview.chromium.org/878473002 Cr-Commit-Position: refs/heads/master@{#323197}
Diffstat (limited to 'base/sequenced_task_runner.h')
0 files changed, 0 insertions, 0 deletions