VirtualBox

Changeset 2569 in vbox


Ignore:
Timestamp:
May 9, 2007 4:56:55 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
21036
Message:

the string of valid CFG options in CFGMR3AreValuesValid() should be terminated with \0

Location:
trunk/src/VBox/Devices
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r2269 r2569  
    44744474                                          "CustomVideoMode14\0"
    44754475                                          "CustomVideoMode15\0"
    4476                                           "CustomVideoMode16"))
     4476                                          "CustomVideoMode16\0"))
    44774477        return PDMDEV_SET_ERROR(pDevIns, VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES,
    44784478                                N_("Invalid configuration for vga device"));
  • trunk/src/VBox/Devices/PC/DevPit-i8254.cpp

    r2468 r2569  
    889889     * Validate configuration.
    890890     */
    891     if (!CFGMR3AreValuesValid(pCfgHandle, "Irq\0Base\0Speaker\0GCEnabled\0R0Enabled"))
     891    if (!CFGMR3AreValuesValid(pCfgHandle, "Irq\0Base\0Speaker\0GCEnabled\0R0Enabled\0"))
    892892        return VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES;
    893893
  • trunk/src/VBox/Devices/Storage/DevATA.cpp

    r2565 r2569  
    56765676     * Validate and read configuration.
    56775677     */
    5678     if (!CFGMR3AreValuesValid(pCfgHandle, "GCEnabled\0IRQDelay\0R0Enabled"))
     5678    if (!CFGMR3AreValuesValid(pCfgHandle, "GCEnabled\0IRQDelay\0R0Enabled\0"))
    56795679        return PDMDEV_SET_ERROR(pDevIns, VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES,
    56805680                                N_("PIIX3 configuration error: unknown option specified."));
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