VirtualBox

Changeset 50668 in vbox


Ignore:
Timestamp:
Mar 3, 2014 4:22:36 PM (11 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: Fix debug crash on Solaris 10 (ends up calling strlen with NULL and strlen doesn't check for it).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c

    r50662 r50668  
    434434                      Bool isPreferred, Bool isUserDef)
    435435{
    436     TRACE_LOG("pszName=%s, x=%d, y=%d\n", pszName, x, y);
     436    TRACE_LOG("pszName=%s, x=%d, y=%d\n", pszName ? pszName : "(null)", x, y);
    437437    DisplayModePtr pMode = xnfcalloc(1, sizeof(DisplayModeRec));
    438438
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