1. 28 Mar, 2019 1 commit
  2. 04 Jan, 2019 1 commit
  3. 31 Dec, 2017 1 commit
  4. 06 Dec, 2017 2 commits
  5. 01 Dec, 2017 1 commit
  6. 24 Jan, 2017 1 commit
  7. 31 Dec, 2016 1 commit
  8. 06 Jan, 2016 1 commit
  9. 22 Apr, 2015 1 commit
  10. 10 Jun, 2014 1 commit
    • Sven Eckelmann's avatar
      batctl: Force null termination of string after strncpy · 4faf6533
      Sven Eckelmann authored
      strncpy doesn't terminate the string with a '\0' character when the length
      of the destination memory location was shorter than the source string.
      Accessing it again with string related functions isn't safe after such a
      semi-failed copy and the caller has to handle it. The easiest way is to
      always set the last character in the destination buffer to '\0' after the
      strncpy was called.
      
      Also the length provided as argument of strncpy should not be the length of
      the source buffer but the maximum number of bytes in the destination buffer.
      Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
      Signed-off-by: default avatarMarek Lindner <mareklindner@neomailbox.ch>
      4faf6533
  11. 04 Jan, 2014 1 commit
  12. 13 Oct, 2013 1 commit
  13. 24 Sep, 2013 1 commit
  14. 11 Sep, 2013 2 commits
  15. 05 Jan, 2013 1 commit
  16. 04 Jan, 2012 1 commit
  17. 03 Aug, 2011 2 commits
  18. 29 Jan, 2011 2 commits
  19. 10 Dec, 2010 2 commits
  20. 18 Sep, 2010 2 commits
  21. 16 Sep, 2010 2 commits
  22. 20 Jun, 2010 1 commit
  23. 21 Mar, 2010 1 commit
  24. 10 Mar, 2010 8 commits
  25. 04 Mar, 2010 2 commits