]> Pileus Git - ~andy/gtk/commit
widgetpath: Sanitize pos argument for iters correctly
authorBenjamin Otte <otte@redhat.com>
Sat, 26 Mar 2011 13:44:12 +0000 (14:44 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 26 Mar 2011 22:51:28 +0000 (23:51 +0100)
commit06f590456f2b22eccb54f6c097beaea2cb72f8be
tree81cd93a61dafd00ff93b16adbadd776a305eaa4c
parent8a16876fc7d0298fdff136befc95b5cc755f9aac
widgetpath: Sanitize pos argument for iters correctly

The comparison done was off by one and would have caused invalid
reads or writes.
gtk/gtkwidgetpath.c