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)