VirtualBox

Changeset 4856 in vbox for trunk/src


Ignore:
Timestamp:
Sep 17, 2007 2:55:39 PM (17 years ago)
Author:
vboxsync
Message:

Solaris doesn't seem to check for null string pointers in *printfv (%s).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/assert.cpp

    r4071 r4856  
    123123            "Expression: %s\n"
    124124            "Location  : %s(%d) %s\n",
    125             pszExpr, pszFile, uLine, pszFunction);
     125            VALID_PTR(pszExpr) ? pszExpr : "<none>",
     126            VALID_PTR(pszFile) ? pszFile : "<none>",
     127            uLine,
     128            VALID_PTR(pszFunction) ? pszFunction : "");
    126129    fflush(stderr);
    127130#endif
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