]> git.saurik.com Git - wxWidgets.git/commit
Don't crash on malformed HTML in wxHTML font tag handler.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Dec 2010 22:36:56 +0000 (22:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Dec 2010 22:36:56 +0000 (22:36 +0000)
commit2e49a8074e7c9179b642852ff00ed8fdf0768bb1
tree2d54b9d050db414c01281d4ee7035968dde5f9d0
parentb4c470164c9e273222715eed7edb0d1334efc5f2
Don't crash on malformed HTML in wxHTML font tag handler.

Don't try to access the first character of the size parameter value before we
are sure that it is not empty.

Closes #12812.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/html/m_fonts.cpp