Skip to content
  1. Jun 02, 2015
  2. Apr 07, 2014
  3. Mar 25, 2014
  4. Mar 12, 2014
    • Christophe Fergeau's avatar
      get_decoded_udev_property: Fix sscanf use · 6dd1d6e6
      Christophe Fergeau authored and Zeeshan Ali's avatar Zeeshan Ali committed
      sscanf man page says about %x:
      'x      Matches an unsigned hexadecimal integer; the next pointer must be a
      pointer to unsigned int'
      get_decoded_udev_property() is using %02x, but this is not documented as
      reducing the size of the expected pointer, it's only documented as causing
      sscanf to read at most 2 digits of the parsed number.
      
      Boxes was passing an uint8 to scanf instead of an uint, causing memory
      corruption (plus a 'fortify: stack smashing detected' message if this is
      enabled when building), and eventually a crash in get_decoded_udev_property().
      6dd1d6e6
  5. Mar 05, 2014
  6. Feb 03, 2014
  7. Jan 28, 2014
  8. Dec 16, 2013
  9. Dec 12, 2013
  10. Nov 05, 2013
  11. Nov 02, 2013
  12. Sep 10, 2013
  13. Aug 25, 2013
  14. Aug 21, 2013
  15. Aug 18, 2013
  16. Aug 04, 2013
  17. Jul 29, 2013
  18. Jul 24, 2013
  19. Jul 02, 2013
  20. Jun 25, 2013
  21. Jun 14, 2013
  22. Jun 10, 2013
  23. Jun 08, 2013
  24. Jun 06, 2013
  25. Jun 05, 2013
  26. Jun 01, 2013
  27. May 30, 2013