VirtualBox

Changeset 75881 in vbox


Ignore:
Timestamp:
Dec 2, 2018 7:03:03 PM (6 years ago)
Author:
vboxsync
Message:

Runtime/r3/shmem-posix.cpp: Crash fix in RTShMemMapRegion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/shmem-posix.cpp

    r75879 r75881  
    292292            if (!pThis->aMappingDescs[i].cMappings)
    293293            {
     294                pMappingDesc = &pThis->aMappingDescs[i];
     295
    294296                /* Try to grab this one. */
    295297                if (ASMAtomicIncU32(&pMappingDesc->cMappings) == 1)
     
    298300                /* Somebody raced us, drop reference and continue. */
    299301                ASMAtomicDecU32(&pMappingDesc->cMappings);
     302                pMappingDesc = NULL;
    300303            }
    301304        }
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