- Forum posts: 1
Sep 13, 2016, 9:20:49 AM via Website
Sep 13, 2016 9:20:49 AM via Website
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 ,
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();
}
}