Don't crash if an <area> element is incorrect and doesn't have the required
number of coords attributes.
Closes #15348.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74569
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
was added.
+3.0: (released 2013-09-??)
+--------------------------
+
+All (GUI):
+
+- Fix crash in wxHTML on mal-formed <area> elements (LukasK).
+
+
2.9.5: (released 2013-07-15)
----------------------------
switch (type)
{
case RECT:
+ if ( coords.GetCount() == 4 )
{
int l, t, r, b;
{
return m_Link;
}
- break;
}
+ break;
case CIRCLE:
+ if ( coords.GetCount() == 3 )
{
int l, t, r;
double d;