VirtualBox

Changeset 3101 in vbox


Ignore:
Timestamp:
Jun 12, 2007 7:06:56 PM (18 years ago)
Author:
vboxsync
Message:

Fix VBoxManage convertdd SEGV crash on Linux if no further parameters
were given.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r3094 r3101  
    23712371{
    23722372#ifdef __LINUX__
    2373     const bool fReadFromStdIn = !strcmp(argv[0], "stdin");
     2373    const bool fReadFromStdIn = (argc >= 1) && !strcmp(argv[0], "stdin");
    23742374#else
    23752375    const bool fReadFromStdIn = false;
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