ukf / ukf-mda

UK federation aggregator beans
0 stars 2 forks source link

array bounds error in mdui:IPHint validator #16

Open iay opened 9 years ago

iay commented 9 years ago

An <mdui:IPHint> value of (say) "1.2.3.4", lacking a "/nn" mask size component, results in an array index out of bounds error.

This is due to a java-support issue.

We need a fix for this until the underlying issue is resolved. The fix can be removed in the 0.9 branch once java-support has been corrected.

iay commented 9 years ago

This is now fixed in the version of the java-support library to be included with MDA 0.9.0.

iay commented 9 years ago

Fixed on the 0.8 branch by commit 13a13384bcbbef30aba8da2b36c47c7a947ae9a9. Still to be addressed on the 0.9 branch. Although the java-support library has been fixed, I'd like to make sure I have a test for this issue in the branch even if we don't need the workaround.