summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack_fuzz.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-12-04 15:28:03 -0800
committerTom Cherry <tomcherry@google.com>2019-12-04 15:28:03 -0800
commit8d2225353cb84132ab8d734ffc1efa2c1019f34b (patch)
tree8704bbd595b1e61f076219d7e804f4b45dfb63d2 /libutils/ProcessCallStack_fuzz.cpp
parentf7a6c4587f06bc7e79748acd97dc4dd5b741f328 (diff)
liblog: accept log messages with hdr_size greater than known headers
We don't need to be so strict about this comparison. It's possible that logd will extend the message that it passes to readers in the future, and since we have a hdr_size parameter it can do so in a backwards compatible way, as long as we loosen this restriction. This keeps a sane upper bound that the hdr_size cannot be larger than the log message itself. Test: logcat, liblog-unit-tests Change-Id: I8a6bea2a2d6e3315d998c51c1029e466ff06b45f
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions