1. 13 May, 2013 1 commit
  2. 12 May, 2013 1 commit
  3. 11 May, 2013 3 commits
  4. 27 Apr, 2013 1 commit
  5. 25 Apr, 2013 4 commits
  6. 19 Feb, 2013 1 commit
    • Jiri Popelka's avatar
      Use safe_strncpy wherever possible · 3d31cea2
      Jiri Popelka authored
      to avoid string overflow and to make sure the string
      is terminated.
      
      - link mii-tool and nameif against lib/
      - remove xmalloc() from nameif because it's defined also in util.c
      3d31cea2
  7. 15 Feb, 2013 5 commits
  8. 30 Jan, 2013 1 commit
  9. 11 Jan, 2013 5 commits
  10. 02 Jan, 2013 1 commit
  11. 31 Dec, 2012 3 commits
  12. 17 Oct, 2012 4 commits
  13. 05 Oct, 2012 1 commit
  14. 03 Oct, 2012 1 commit
  15. 01 Oct, 2012 2 commits
  16. 15 Sep, 2012 3 commits
  17. 29 Jun, 2012 1 commit
    • Jiri Popelka's avatar
      netstat memory leak fixed. · e8b37a84
      Jiri Popelka authored
      valgrind --leak-check=full netstat
      (x86_64)
      
      before:
        definitely lost: 1,536 bytes in 64 blocks
        indirectly lost: 479 bytes in 64 blocks
       ERROR SUMMARY: 1 errors from 1 contexts
      
      after:
        definitely lost: 0 bytes in 0 blocks
        indirectly lost: 0 bytes in 0 blocks
       ERROR SUMMARY: 0 errors from 0 contexts
      e8b37a84
  18. 26 Jun, 2012 2 commits
    • Jiri Popelka's avatar
      992a1def
    • Jiri Popelka's avatar
      use scanf("%ms") instead of scanf("%as") for dynamic string · 53c40178
      Jiri Popelka authored
      from scanf(3):
      The a modifier is not available if the program is compiled with
      gcc -std=c99 or gcc -D_ISOC99_SOURCE (unless _GNU_SOURCE
      is also specified), in which case the a is interpreted
      as a specifier for floating-point numbers (see above).
      
      Since version 2.7, glibc also provides the m modifier for the
      same purpose as the a modifier. The m modifier has the following
      advantages:
      * It may also be applied to %c conversion specifiers (e.g., %3mc).
      * It avoids ambiguity with respect to the %a floating-point
        conversion specifier (and is unaffected by gcc -std=c99 etc.)
      * It is specified in the upcoming revision of the POSIX.1 standard.
      53c40178