Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Android - Information leakage flaw OutputStream

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 120
    Answer it

    I have developed an application in the Cordova Framework, and I have added a camera plugin for capture functionality,

    I am getting an Information Leakage flaw in the code below, using veracode to scan APK.

    OutputStream os = this.cordova.getActivity().getContentResolver().openOutputStream(uri);
    try {
        bitmap.compress(Bitmap.CompressFormat.JPEG, this.mQuality, os);
        os.close();
    } finally {
        if (os != null) {
            os.close();
        }
    }

     

    Kindly guide me if i have initialized and closed Out put Stream correctly

 0 Answer(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: