summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2020-09-01 12:36:26 -0700
committerChristopher Ferris <cferris@google.com>2020-09-01 12:36:26 -0700
commitc9b6e084a323b9472a5506dd63b9841126600c4f (patch)
tree3d90e0bb524ed094cb3bcf9337db68a2cf116866 /trusty/coverage/coverage_test.cpp
parentaf13a8b744f6c56b4d1403ea45b3b3bdc2460e31 (diff)
Do not create a map with start == end.
This is not possible in the real world, so prevent this particular case to avoid leaking memory and any other issues. Bug: 165619316 Test: Verified the fuzzer test case that caused a leak no longer leaks. Change-Id: I352b3bd21a4931432e015af89c256ddbcdaa1070
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions