"Applied fix from trunk for revision: 1856460"
------------------------------------------------------------------------ r1856460 | jleroux | 2019-03-28 09:30:21 +0100 (jeu. 28 mars 2019) | 10 lignes 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" It shows how tired I'm :/ ------------------------------------------------------------------------ git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release18.12@1856461 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