diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-04-15 15:49:16 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-04-15 15:31:30 +0000 |
| commit | be2d01ee635103a77a9f68576c852f5ef3b16d0f (patch) | |
| tree | 6246b2d97156de865a56bbb71f3f819fb8b4fc68 /executor/common_ext_example.h | |
| parent | ec1d9df37dba4a17065b091bbe9e03c9635cd0dc (diff) | |
pkg/report: fix OOB in linux.symbolize()
NewScanner() had an implicit limit on the maximum line size, which we
could surpass e.g. by printing some long serialized program.
In this case, there's no reason to use NewScanner() -- we already have
the whole buffer, so let's use raw byte operations instead.
Remove one of the checks that turned out to be unneeded, but leave an
assertion inside the symbolize() method.
Closes #4198.
Diffstat (limited to 'executor/common_ext_example.h')
0 files changed, 0 insertions, 0 deletions
