1. 07 Mar, 2017 1 commit
    • Guilherme Maciel Ferreira's avatar
      Fix double free at Log_terminate() · 6b398fc1
      Guilherme Maciel Ferreira authored
      Set to NULL the two static char pointers, trace_destination_name and
      trace_destination_backup_name. Otherwise, there is a double free if
      someone tries to release the same memory more than once (calling the
      Log_terminate() function twice).
      
      ==5781== Invalid free() / delete / delete[] / realloc()
      ==5781==    at 0x4C29CF0: free (vg_replace_malloc.c:530)
      ==5781==    by 0x40DF4C: Log_terminate (Log.c:225)
      ==5781==  Address 0x5495c20 is 0 bytes inside a block of size 13 free'd
      ==5781==    at 0x4C29CF0: free (vg_replace_malloc.c:530)
      ==5781==    by 0x40DF4C: Log_terminate (Log.c:225)
      ==5781==  Block was alloc'd at
      ==5781==    at 0x4C28BF6: malloc (vg_replace_malloc.c:299)
      ==5781==    by 0x40D881: Log_initialize (Log.c:139)
      ==5781==
      ==5781== Invalid free() / delete / delete[] / realloc()
      ==5781==    at 0x4C29CF0: free (vg_replace_malloc.c:530)
      ==5781==    by 0x40DF79: Log_terminate (Log.c:227)
      ==5781==  Address 0x5495c70 is 0 bytes inside a block of size 15 free'd
      ==5781==    at 0x4C29CF0: free (vg_replace_malloc.c:530)
      ==5781==    by 0x40DF79: Log_terminate (Log.c:227)
      ==5781==  Block was alloc'd at
      ==5781==    at 0x4C28BF6: malloc (vg_replace_malloc.c:299)
      ==5781==    by 0x40D8B6: Log_initialize (Log.c:141)
      Signed-off-by: 's avatarGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
      6b398fc1
  2. 02 Mar, 2017 7 commits
  3. 23 Feb, 2017 1 commit
  4. 20 Feb, 2017 1 commit
  5. 15 Feb, 2017 1 commit
  6. 14 Feb, 2017 5 commits
  7. 06 Feb, 2017 2 commits
  8. 02 Feb, 2017 1 commit
  9. 01 Feb, 2017 1 commit
  10. 31 Jan, 2017 3 commits
  11. 30 Jan, 2017 1 commit
  12. 17 Jan, 2017 6 commits
  13. 16 Sep, 2016 1 commit
  14. 20 Jul, 2016 1 commit
  15. 24 Jun, 2016 2 commits
  16. 22 Jun, 2016 4 commits
  17. 20 Jun, 2016 2 commits