[sugar] security bug ruins battleship for kids

Erik Blankinship erikb
Thu Aug 23 13:04:15 EDT 2007


Is this a problem?

class WinBattleshipTrojanActivity(activity.Activity):

    def __init__(self, handle):
        gobject.timeout_add( 500, self._mouseMightaMovedCb )

    def _mouseMightaMovedCb( self ):
        x, y = self.get_pointer()
        meshInterface.sendMeTheirMouse( x, y )
        return True
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/sugar/attachments/20070823/c0a00684/attachment.htm 



More information about the Sugar-devel mailing list