VirtualBox

Ignore:
Timestamp:
Feb 27, 2019 1:47:36 PM (6 years ago)
Author:
vboxsync
Message:

Runtime/fuzz: build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fuzz/fuzz.cpp

    r77487 r77489  
    530530    {
    531531        pMutation->cbInput      = pMutationParent->cbInput; /* Bit flips don't change the input size. */
    532         pMutation->u.idxBitFlip = RTRandAdvS32Ex(pThis->hRand, 0, (pMutationParent->cbInput - offStart) * 8 - 1);
     532        pMutation->u.idxBitFlip = RTRandAdvS32Ex(pThis->hRand, 0, sizeof(uint8_t) * 8 - 1);
    533533        *ppMutation = pMutation;
    534534    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette