itext
5091
Anomaly identified by the detector. Please review whether this anomaly corresponds to a misuse.
5
com/itextpdf/text/pdf/ICC_Profile.java
GetInstance(String)
class ICC_Profile { public static ICC_Profile GetInstance(String fname) { FileInputStream fs = null; try { fs = new FileInputStream(fname); ICC_Profile icc = getInstance(fs); return icc; } catch (Exception ex) { throw new ExceptionConverter(ex); } finally { try{fs.close();}catch(Exception x){} } } }
NP: Possible null pointer dereference of fs in com.itextpdf.text.pdf.ICC_Profile.GetInstance(String) on exception path
NP_NULL_ON_SOME_PATH_EXCEPTION
catch block in finally is empty