VirtualBox

Changeset 53069 in vbox for trunk/src


Ignore:
Timestamp:
Oct 15, 2014 3:28:20 PM (10 years ago)
Author:
vboxsync
Message:

testcase/tstGIP-2: Fix null pointer dereference when the GIP isn't yet up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/testcase/tstGIP-2.cpp

    r53026 r53069  
    156156                    RTThreadSleep(9);
    157157                else
    158                     while (u32TransactionId == *pu32TransactionId)
    159                         /* nop */;
     158                {
     159                    if (pu32TransactionId)
     160                    {
     161                        while (u32TransactionId == *pu32TransactionId)
     162                            ASMNopPause();
     163                    }
     164                    else
     165                        RTThreadSleep(1);
     166                }
    160167            }
    161168
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