1. 21 Jun, 2016 2 commits
    • Mike Gabriel's avatar
      nxagentReversePointerMap: Don't assume Xevent.xbutton.button is always greater… · 04d2fe3a
      Mike Gabriel authored
      nxagentReversePointerMap: Don't assume Xevent.xbutton.button is always greater than zero. We have seen Xevent.xbutton.button being set to AnyButton (equaling 0).
      
      Fixes ArcticaProject/nx-libs#92
      Fixes X2GoBTS#791
      04d2fe3a
    • Mihai Moldovan's avatar
      nx-X11/programs/Xserver/hw/nxagent/Handlers.h: fix stack smashing related to… · 129cc6af
      Mihai Moldovan authored
      nx-X11/programs/Xserver/hw/nxagent/Handlers.h: fix stack smashing related to different data type sizes between Xserver and Xlib.
      
      While on the X server side we were expecting a 32bit value, the Xlib side in
      nxcompext wrote a 64bit integer to the 32bit location, hence overwriting
      "random" data on the stack (most notably the return adress.)
      
      We can work around this by using the Xlib-based Window data type on the
      server-side as well, but this problem is likely a more general one.
      
      Calling functions from libcompext in nxagent sounds like a bad idea. Other code
      locations might well be affected by issues alike to that as well.
      
      In order to silence compiler warnings, use a "macro hack" for overriding the
      "Window" type in NXlib.h.
      129cc6af
  2. 12 Jun, 2016 3 commits
  3. 09 Jun, 2016 1 commit
  4. 03 Jun, 2016 2 commits
  5. 01 Jun, 2016 15 commits
  6. 31 May, 2016 8 commits
  7. 30 May, 2016 3 commits
  8. 25 May, 2016 1 commit
  9. 13 May, 2016 5 commits