XPutBackEvent copies an XEvent internally, so the pointer passed in must
authorLindley French <lindleyf@google.com>
Fri, 11 Apr 2014 13:41:49 +0000 (13:41 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Fri, 11 Apr 2014 13:41:49 +0000 (13:41 +0000)
commitd32fddc67143e6fe637f0aefef741e32fc666b86
tree11cc5b2c87d38479249f2bd5fac7fe50d5c5a881
parentb22908d722db04f333a49f939f18be59c41f7802
XPutBackEvent copies an XEvent internally, so the pointer passed in must
point to an actual XEvent object, not an XConfigureEvent, which is
smaller. This avoids an invalid stack read.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1680 7f0cb862-5218-0410-a997-914c9d46530a
src/x11/fg_window_x11.c