예제 #1
0
        /* goodG2B() - use goodsource and badsink */
        private void GoodG2B()
        {
            string password = null;

            /* FIX: Use a hardcoded password as the password (it was not sent over the network) */
            /* INCIDENTAL FLAW: CWE-259 Hard Coded Password */
            password            = "******";
            goodG2BPublicStatic = true;
            CWE319_Cleartext_Tx_Sensitive_Info__NetClient_SqlConnection_22b.GoodG2BSink(password);
        }