Ignore:
Timestamp:
Jan 22, 2011, 11:28:57 PM (10 years ago)
Author:
schwittmann
Message:

Fixed exception on systems where no processorId is available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/ExternalClient/Main.cpp

    r2417 r2430  
    4545    }
    4646
    47     const char* password = "";
     47    int pwlen = (argc==4?strlen(argv[3]):0) +1;
     48    char password[pwlen];
     49    bzero(password, pwlen);
    4850    if(argc == 4)
    4951    {
    50         password = argv[3];
     52        strcpy(password, argv[3]);
     53        bzero(argv[3], pwlen);
    5154    }
    5255
Note: See TracChangeset for help on using the changeset viewer.