summaryrefslogtreecommitdiff
path: root/Meta/CMake
diff options
context:
space:
mode:
authorSviatoslav Peleshko <speles@mail.ua>2022-02-06 15:59:31 +0200
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-02-06 18:25:05 +0330
commit3caac65cc80f6daeeacb3aac6a29d15bde788c4b (patch)
tree950e4378f722911b9d7cfa9e31543dd747d1738e /Meta/CMake
parent46ed6303a28f24477b03f00e2b93e6f11bef5ead (diff)
downloadserenity-3caac65cc80f6daeeacb3aac6a29d15bde788c4b.zip
CrashReporter: Capture backtrace progress callback's arguments by value
Previously we captured them by reference, but when the deferred code finally runs from an event loop, the references may be stale. In that case, value and max of the progressbar are set with random numbers. If we were especially unlucky, the `frame_count` turned into a negative int, and would crash at `VERIFY(min <= max)`.
Diffstat (limited to 'Meta/CMake')
0 files changed, 0 insertions, 0 deletions