VirtualBox

Changeset 28616 in vbox


Ignore:
Timestamp:
Apr 22, 2010 9:15:03 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
60464
Message:

Main/HostHardwareLinux: fix an assertion followed by a NULL-pointer parameter segfault in the new USB code. Not relevant for 3.1 due to code differences

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/linux/HostHardwareLinux.cpp

    r28576 r28616  
    13571357{
    13581358    char szBuf[sizeof(SYSFS_WAKEUP_STRING)];
    1359     int rc = RTPipeRead(mhWakeupPipeR, szBuf, sizeof(szBuf), NULL);
     1359    size_t cbDummy;
     1360
     1361    int rc = RTPipeRead(mhWakeupPipeR, szBuf, sizeof(szBuf), &cbDummy);
    13601362    AssertRC(rc);
    13611363    return VINF_SUCCESS;
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