VirtualBox

Ignore:
Timestamp:
Dec 19, 2008 6:16:40 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
41270
Message:

crOpenGL: make host buffer dynamic in size, fix for 3443

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c

    r15532 r15707  
    460460        crWarning("crServer: [%lx] ClientRead u32ClientID=%d FAIL, host buffer too small %d of %d",
    461461                  crThreadID(), u32ClientID, *pcbBuffer, pClient->conn->cbHostBuffer);
    462         return VERR_INVALID_PARAMETER;
     462
     463        /* Return the size of needed buffer */
     464        *pcbBuffer = pClient->conn->cbHostBuffer;
     465
     466        return VERR_BUFFER_OVERFLOW;
    463467    }
    464468
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