-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Trunk
-
Fix Version/s: 18.12.01, Upcoming Branch
-
Component/s: framework/webtools
-
Labels:None
Right at the start DatabaseUtil.getColumnInfo(....) does an if comparison to 0 with the unchecked parameter tableNames.
The way this method and especially the parameter is used in DatabaseUtil.induceModelFromDb(Collection<String> messages) is not secure to not provide null-values for this parameter.
I suggest using a UtilValidate.isEmpty(...) instead of the unsave comparison.
- links to