Skip to content
Snippets Groups Projects
  1. Sep 01, 2017
  2. Aug 24, 2017
  3. Aug 23, 2017
  4. Aug 22, 2017
  5. Aug 21, 2017
  6. Aug 19, 2017
  7. Aug 12, 2017
  8. Aug 10, 2017
  9. Aug 05, 2017
  10. Jun 19, 2017
  11. Apr 16, 2017
  12. Apr 06, 2017
  13. Apr 05, 2017
  14. Apr 02, 2017
  15. Mar 23, 2017
    • Tobias Stoeckmann's avatar
      Fix double-free/OOB-write while receiving IPC data · f7a547b7
      Tobias Stoeckmann authored
      
      If a malicious client pretends to be the E17 window manager, it is
      possible to trigger an out of boundary heap write while receiving an
      IPC message.
      
      The length of the already received message is stored in an unsigned
      short, which overflows after receiving 64 KB of data. It's comparably
      small amount of data and therefore achievable for an attacker.
      
      When len overflows, realloc() will either be called with a small value
      and therefore chars will be appended out of bounds, or len + 1 will be
      exactly 0, in which case realloc() behaves like free(). This could be
      abused for a later double-free attack as it's even possible to overwrite
      the free information -- but this depends on the malloc implementation.
      
      Signed-off-by: default avatarTobias Stoeckmann <tobias@stoeckmann.org>
      f7a547b7
  16. Feb 26, 2017
  17. Feb 23, 2017
  18. Feb 16, 2017
  19. Jan 12, 2017
  20. Jan 11, 2017
  21. Oct 30, 2016
  22. Oct 29, 2016
  23. Oct 24, 2016
  24. Oct 17, 2016
  25. Oct 15, 2016
  26. Sep 01, 2016
  27. Aug 31, 2016
    • Birte Kristina Friesel's avatar
    • Niclas Zeising's avatar
      Only use sysconf() if HOST_NAME_MAX is undefined · 5ab630b5
      Niclas Zeising authored
      On some systsems sysconf() can return a very large value, unsuitable for
      use with malloc().  Only use sysconf() if HOST_NAME_MAX isn't avalable.
      5ab630b5
    • Niclas Zeising's avatar
      Fix build on FreeBSD. · 873c84f0
      Niclas Zeising authored
      FreeBSD lacks the constant HOST_NAME_MAX, instead using sysconf(3) to
      find out the value of the maximum host name length at run time.  Patch
      to use this instead of HOST_NAME_MAX.
      This brings with it the need to use malloc instead of using a statically
      sized buffer for the host name, since the size of the buffer cannot be
      known at run time.  Errors from sysconf or malloc just means that the
      entire block of code is skipped over (the same way it's skipped if the
      call to gethostname() fails), rather than returning any kind of error to
      the caller or logging an error message somewhere.
      873c84f0
  28. Aug 28, 2016
Loading