1. 09 Oct, 2018 1 commit
  2. 08 Oct, 2018 8 commits
  3. 07 Oct, 2018 9 commits
  4. 06 Oct, 2018 2 commits
  5. 05 Oct, 2018 15 commits
  6. 04 Oct, 2018 4 commits
  7. 03 Oct, 2018 1 commit
    • Daniel Gustafsson's avatar
      memory: ensure to check allocation results · 2873971d
      Daniel Gustafsson authored
      
      
      The result of a memory allocation should always be checked, as we may
      run under memory pressure where even a small allocation can fail. This
      adds checking and error handling to a few cases where the allocation
      wasn't checked for success. In the ftp case, the freeing of the path
      variable is moved ahead of the allocation since there is little point
      in keeping it around across the strdup, and the separation makes for
      more readable code. In nwlib, the lock is aslo freed in the error path.
      
      Also bumps the copyright years on affected files.
      
      Closes #3084
      Reviewed-by: default avatarJay Satiro <raysatiro@yahoo.com>
      Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
      2873971d