Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

src/io/MemMgrAllocator.cc: PVS-Studio: Potentially infinite loop #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

SviatoslavRazmyslov
Copy link

We have found and fixed a bug using PVS-Studio tool. PVS-Studio is a static code analyzer for C, C++ and C#: https://www.viva64.com/en/pvs-studio/

We suggests having a look at the emails, sent from @pvs-studio.com.

Analyzer warning: V776 Potentially infinite loop. The variable in the loop exit condition 'last < 0' does not change its value between iterations. memmgrallocator.cc 140

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants