diff options
author | Kristof Provost <kp@FreeBSD.org> | 2024-06-10 08:47:38 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2024-06-10 09:04:47 +0000 |
commit | 3ff0dc1af85e253b83127ea2417a22a7b2c31f27 (patch) | |
tree | c1828a261f32211d1a9e7c1f1e6976f0fda8f94c /llvm/lib/MC/MCDisassembler/(public-mirror) | |
parent | e5a54f19be8e0e4e700aaf46ab70d42d3ffba469 (diff) | |
download | src-main.tar.gz src-main.zip |
When we update credits there is a potential for a race causing an
overflow of vxcr_next (i.e. incrementing it past vxcr_ndesc). Change the
check to >= rather than == to be more robust against this.
Reviewed by: emaste
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D43712
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/(public-mirror)')
0 files changed, 0 insertions, 0 deletions