diff options
author | iphydf <iphydf@users.noreply.github.com> | 2020-04-28 11:10:25 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-04-29 12:22:06 +0000 |
commit | 7edc0a52feea4f7618a3a8447b5a2607538776ff (patch) | |
tree | 43fb3ce70f033a70b6af6e9449f96cf2787b6d0e /other/analysis/run-gcc | |
parent | de3c21b5b70b76eae6db3b4556d12ea026bf5c40 (diff) |
Bound the number of friends you can have to ~4 billion.
If you have UINT32_MAX friends, then adding one more friend will cause an
overflow of the friend list (wrap to 0) and result in all friends being
deleted. This subsequently results in a null pointer dereference when
we're trying to add one friend to the deleted friend list.
Diffstat (limited to 'other/analysis/run-gcc')
0 files changed, 0 insertions, 0 deletions