- Jan 31, 2020
-
-
Roger A. Light authored
Closes #1539. Thanks to CliveJL and LeonPoon.
-
Roger A. Light authored
Closes #1523. Thanks to Basavesh Shivakumar.
-
- Jan 30, 2020
-
-
Roger A. Light authored
-
Roger A. Light authored
-
Roger A. Light authored
Merge branch 'bugfix-MemLeak_in_handle_unsubscribe' of git://github.com/panava/mosquitto into panava-bugfix-MemLeak_in_handle_unsubscribe
-
Roger A. Light authored
Merge branch 'bugfix-NullDeref_in_util_mosc.c' of git://github.com/panava/mosquitto into panava-bugfix-NullDeref_in_util_mosc.c
-
Roger A. Light authored
Merge branch 'bugfix-MemoryLeak_in_persist_read' of git://github.com/panava/mosquitto into panava-bugfix-MemoryLeak_in_persist_read
-
Roger A. Light authored
Closes #1548.
-
Roger A. Light authored
-
Roger A. Light authored
-
- Jan 29, 2020
-
-
Panagiotis Vasilikos authored
Reason: In lines 435 and 439, the function returns without calling closing fptr which was opened at line 399. Fix: I added fclose(fptr) statements before each of the returns. Signed-off-by:Panagiotis Vasilikos <panagiotis.vasilikos@alexandra.dk>
-
Panagiotis Vasilikos authored
Reason: There is no check that the mosquitto__malloc at line 162 was sucessfull. This could result to a Null pointer dereference in the memcpy call at line 166. Fix: I added the check. Signed-off-by:Panagiotis Vasilikos <panagiotis.vasilikos@alexandra.dk>
-
Roger A. Light authored
Closes #1550. Thanks to Markus Gothe.
-
Roger A. Light authored
Closes #1564. Thanks to back1127.
-
Roger A. Light authored
This is when due to not being able to open a listening socket, solved by calling freeaddrinfo in the error cases. Closes #1565. Thanks to back1127.
-
Roger A. Light authored
Closes #1566. Thanks to kollokollo.
-
- Jan 28, 2020
-
-
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 added a mosquitto__free(reason_codes) statement before each return statement that could result to a memory leak Signed-off-by:Panagiotis Vasilikos <panagiotis.vasilikos@alexandra.dk>
-
Panagiotis Vasilikos authored
Reason: The memory allocated for the packet pointer at line 155 is not freed before returning at line 188. Fix: I inserted the mosquitto__free(packet) statement just before returning at line 188. Signed-off-by:Panagiotis Vasilikos <panagiotis.vasilikos@alexandra.dk>
-
- Jan 24, 2020
-
-
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:Panagiotis Vasilikos <panagiotis.vasilikos@alexandra.dk>
-
- Jan 03, 2020
-
-
Roger A. Light authored
-
- Dec 20, 2019
-
-
Roger A. Light authored
Previously, authentication checks would only take place if usernames were defined in the password file. Closes #1545. Thanks to Timothy Godfrey.
-
- Dec 19, 2019
-
-
Roger A. Light authored
Closes #1539. Thanks to Leon Poon.
-
- Dec 18, 2019
-
-
Roger A. Light authored
-
- Dec 12, 2019
-
-
Roger A. Light authored
Closes #1525. Thanks to Christoph Krey.
-
- Dec 03, 2019
-
-
Roger A. Light authored
-
Roger A. Light authored
-
Roger A. Light authored
-
- Nov 29, 2019
-
-
Roger A. Light authored
-
Roger A. Light authored
-
Roger A. Light authored
Closes #1513.
-
Roger Light authored
In sub_client.c, call mosquitto_destroy() in cleanup label.
-
Roger A. Light authored
This is all now handled in session_expiry.c, through session expiry interval/time.
-
Roger A. Light authored
Closes #1494. Thanks to Christoph Krey.
-
- Nov 28, 2019
-
-
Basavesh Shivakumar authored
Fixes: #1513 and frees resources when someone terminates via SIGTERM or SIGINT. Signed-off-by:Basavesh Shivakumar <basavesh.shivakumar@gmail.com>
-
- Nov 22, 2019
-
-
Roger A. Light authored
Closes #1499. Thanks to Basavesh Shivakumar.
-
- Nov 21, 2019
-
-
Roger A. Light authored
-
-
- Nov 17, 2019
-
-
Basavesh Shivakumar authored
Signed-off-by:Basavesh Shivakumar <basavesh.shivakumar@gmail.com>
-
- Nov 14, 2019
-
-
Roger A. Light authored
-
- Nov 08, 2019
-
-
Roger A. Light authored
Blank lines are sent as empty messages. Closes #1474. Thanks to majekw.
-