1. 30 Sep, 2013 1 commit
    • Jiri Popelka's avatar
      lib/inet6.c:INET6_rresolve() - various fixes · a70c568b
      Jiri Popelka authored
      1) Fall-back to numeric address if getnameinfo fails.
         Reverse lookup is not mandatory, therefore its fail
         is not an error. Just return numeric address in that case.
         This makes netstat/route show IPv6 address instead of
         [UNKNOWN] in case of DNS problems.
      
      2) Pass length of 'name' buffer into function.
         'name' is a pointer and therefore sizeof(name)
         returns size of pointer and not size of the buffer.
         see http://stackoverflow.com/questions/14298710/c-pointers-and-arrays-sizeof-operator
         The sizeof() usage was added with commit 604785ad,
         so I checked all the other changes in that commit
         and they seem to be OK.
      
      3) remove unused 's' variable
      a70c568b
  2. 30 Aug, 2013 4 commits
  3. 29 Aug, 2013 1 commit
  4. 21 Jun, 2013 1 commit
  5. 15 Jun, 2013 3 commits
  6. 14 Jun, 2013 1 commit
  7. 13 Jun, 2013 2 commits
  8. 12 Jun, 2013 1 commit
  9. 23 May, 2013 1 commit
  10. 13 May, 2013 3 commits
  11. 12 May, 2013 1 commit
  12. 11 May, 2013 3 commits
  13. 27 Apr, 2013 1 commit
  14. 25 Apr, 2013 4 commits
  15. 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
  16. 15 Feb, 2013 5 commits
  17. 30 Jan, 2013 1 commit
  18. 11 Jan, 2013 5 commits
  19. 02 Jan, 2013 1 commit