Skip to content
Snippets Groups Projects
  1. Aug 10, 2016
  2. Aug 08, 2016
  3. Nov 15, 2015
  4. Nov 13, 2015
  5. Sep 18, 2015
  6. Aug 12, 2015
  7. Jun 30, 2015
  8. Jun 27, 2015
  9. Apr 10, 2015
  10. Apr 03, 2015
  11. Mar 24, 2015
    • Austin Clements's avatar
      Fix missing NUL-terminator in grep · 7443b964
      Austin Clements authored
      Currently, grep read()s into a buffer and then uses the buffer as a
      string. Since there's no NUL-terminator, this can cause it to falsely
      identify line breaks and matches from leftover data on earlier lines
      and, if a line fills up the entire buffer, to read past the end of the
      buffer.
      
      Fix this by NUL-terminating any data returned by read().
      
      Thanks to Keiichi Watanabe for the report.
      7443b964
  12. Feb 19, 2015
  13. Oct 03, 2014
  14. Sep 23, 2014
  15. Sep 12, 2014
  16. Sep 08, 2014
  17. Aug 29, 2014
  18. Aug 28, 2014
  19. Aug 27, 2014
  20. Aug 04, 2014
  21. Jul 31, 2014
Loading