Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Here is related code in call():
Pattern pattern = null; String p = resource.getPattern(); if (p != null) { pattern = Pattern.compile(p); } unpack(new File(dTmp.toUri()), new File(dFinal.toUri()), pattern);
In unpack():
RunJar.unJar(localrsrc, dst, pattern);
unJar() would dereference the pattern without checking whether it is null.