VirtualBox

Ignore:
Timestamp:
Nov 25, 2011 2:29:43 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
75056
Message:

r=bird: pre-review comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestControl/service.cpp

    r39421 r39427  
    430430        for (uint32_t i = 0; i < pBuf->uParmCount; i++)
    431431        {
     432            /** @todo r=bird: Should this CHECK the type instead of overriding
     433             * it?? What happens if a guest initializes a PTR param as a 32-bit
     434             * or 64-bit value with a non-zero value? You'll crash and burn in
     435             * the memcpy below! */
    432436            paParms[i].type = pBuf->pParms[i].type;
    433437            switch (paParms[i].type)
     
    439443                case VBOX_HGCM_SVC_PARM_64BIT:
    440444                    /* Not supported yet. */
     445                    /** @todo r=bird: This case needs to fail! */
    441446                    break;
    442447
     
    458463
    459464                default:
     465                    /** @todo r=bird: This case needs to fail! */
    460466                    break;
    461467            }
     
    589595 *
    590596 * @return  IPRT status code.
    591  * @param   pCmd                    Host comamnd to send.
     597 * @param   pCmd                    Host command to send.
    592598 * @param   callHandle              Call handle of the client to send the command to.
    593599 * @param   cParms                  Number of parameters.
Note: See TracChangeset for help on using the changeset viewer.

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