1. Feb 27, 2020
  2. Feb 25, 2020
  3. Feb 13, 2020
  4. Feb 08, 2020
  5. Feb 07, 2020
  6. Feb 06, 2020
  7. Feb 05, 2020
  8. Jan 31, 2020
  9. Jan 30, 2020
  10. Jan 29, 2020
  11. Jan 28, 2020
  12. Jan 24, 2020
    • Panagiotis Vasilikos's avatar
      Memory leak in handle_unsubscribe.c · 0f705256
      Panagiotis Vasilikos authored
      
      
      Reason: In line 70, the memory allocation for the pointer reasons_codes may
      result to a memory leak due to the many returns (e.g as the one in line 78)
      occuring in the program's path until reaching the mosquitto__free at line 122.
      
      Fix: I moved the memory allocation code block (lines 69-73) just before
      the line 102. This is the first place the pointer reason_codes is used, while
      the following mosquitto__free operators free the allocated memory correctly.
      
      Signed-off-by: default avatarPanagiotis Vasilikos <panagiotis.vasilikos@alexandra.dk>
      0f705256
  13. Jan 23, 2020