]> git.saurik.com Git - wxWidgets.git/commit
Check indices validity better in wxGridStringTable.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Aug 2009 00:59:31 +0000 (00:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Aug 2009 00:59:31 +0000 (00:59 +0000)
commit57e9abd61307aa069b2cb449d215896e97857f5e
treeddc427e882ea43cc82fc1981b85d6e1fd09e41d3
parentc6cc8b15ce5561cc1e42691a7921aaf24507654b
Check indices validity better in wxGridStringTable.

Calling GetValue(-1, -1) could crash as the code naively only checked upper boundary (and didn't use unsigned which would have made the extra check unnecessary but it's too late for this now).

Closes #11044.

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