Improved: Improve ObjectInputStream class
(OFBIZ-10837) Fixes CVE-2019-0189 There was a recurring typo in previous commit. For arrays of primitives it should be "[Z","[B","[S","[I","[J","[F","[D","[C" and not "[Z ","[B ","[S ","[I ","[J ","[F ","[D ","[C " Just spotted that while reviewing again (did not have the time to test) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1856459 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -145,7 +145,7 @@ public final class UtilObject {
|
||||
java.util.Arrays.asList("byte\\[\\]", "Number", "Long", "foo", "SerializationInjector",
|
||||
"java.util.HashMap", "Boolean", "Number", "Integer", "FlexibleStringExpander",
|
||||
"sun.util.calendar.ZoneInfo", "java.sql.Timestamp", "java.util.Date",
|
||||
"java.math.BigDecimal", "[Z ","[B ","[S ","[I ","[J ","[F ","[D ","[C ",
|
||||
"java.math.BigDecimal", "[Z","[B","[S","[I","[J","[F","[D","[C",
|
||||
"org.apache.ofbiz.widget.renderer.VisualTheme"));) {
|
||||
return wois.readObject();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user