1. 11 May, 2013 3 commits
  2. 27 Apr, 2013 1 commit
  3. 25 Apr, 2013 4 commits
  4. 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
  5. 15 Feb, 2013 5 commits
  6. 30 Jan, 2013 1 commit
  7. 11 Jan, 2013 5 commits
  8. 02 Jan, 2013 1 commit
  9. 31 Dec, 2012 3 commits
  10. 17 Oct, 2012 4 commits
  11. 05 Oct, 2012 1 commit
  12. 03 Oct, 2012 1 commit
  13. 01 Oct, 2012 2 commits
  14. 15 Sep, 2012 3 commits
  15. 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
  16. 26 Jun, 2012 3 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
    • Jiri Popelka's avatar
      Consistently use defined exit codes. · 699e5db8
      Jiri Popelka authored
      Tools have been inconsistently using exit codes when started with
      --help/--version.
      With this patch all tools use exit codes E_USAGE/E_VERSION defined
      in net-support.h.
      
      There's probably no rule what exit codes should programs use when
      started with --help/--version, but when I'm checking programs on
      my system most of them use 0 (SUCCESS) exit code.
      Therefore I redefined E_USAGE/E_VERSION to EXIT_SUCCESS (0).
      699e5db8
  17. 01 May, 2012 1 commit