[collectd-changes] collectd, the system statistics collection daemon: Changes to 'collectd-5.4'
Florian Forster
octo at verplant.org
Wed Jun 17 14:46:53 CEST 2015
src/email.c | 56 +++++++++++++++++++++-------------------------
src/liboconfig/oconfig.c | 1 +
src/liboconfig/parser.y | 1 +
src/liboconfig/scanner.l | 6 +++++
src/network.c | 30 +++++++++++++++----------
src/utils_llist.c | 3 +++
6 files changed, 54 insertions(+), 43 deletions(-)
New commits:
commit dd324a1592259913e6e92d3b54e6fa2b0c5f38f7
Author: Florian Forster <octo at collectd.org>
Date: Wed Jun 17 11:41:55 2015 +0200
network plugin: Avoid "status may be used uninitialized" warning.
commit c0c52a2c4aa0c9b89c9445fb7ddeec1fdb1b496b
Author: Florian Forster <octo at collectd.org>
Date: Wed Jun 17 10:48:27 2015 +0200
liboconfig: Declare yylex().
commit 1205b167f300adacdcf7d5dd385299d2b05ace32
Author: Florian Forster <octo at collectd.org>
Date: Wed Jun 17 10:37:31 2015 +0200
email plugin: Fix freeing linked lists.
The previous code essentially did:
for (â¦; â¦; ptr = ptr->next)
free (ptr);
The "ptr->next" is a use-after-free.
commit 7f6c4a16fdacab6c11f8a7756f0d8438ce198288
Author: Florian Forster <octo at collectd.org>
Date: Wed Jun 17 10:26:21 2015 +0200
network plugin: Make sure all memory is freed when the receive thread fails.
Not all that useful (your receive thread just died â¦) but hopefully
makes the static analysis happy.
commit 7909156126916e6fd6ad97fa45b2a8391c78ba22
Merge: 707fa6c 33819a4
Author: Florian Forster <octo at collectd.org>
Date: Wed Jun 17 09:12:08 2015 +0200
Merge remote-tracking branch 'github/pr/1088' into collectd-5.4
commit 707fa6cb057b53846aaa27a505fe05226612ecd3
Author: Florian Forster <octo at collectd.org>
Date: Wed Jun 17 09:09:17 2015 +0200
src/utils_llist.c: Handle unlikely corner case.
This handles the following (unlikely) case:
(l->head == NULL) && (e == NULL)
In this case, the following code will dereference a NULL pointer:
if (l->head == e)
l->head = e->next;
commit 33819a49ab40ec2f54f5ee12b3b88ab4205873eb
Author: Florian Forster <octo at collectd.org>
Date: Tue Jun 16 23:07:34 2015 +0200
liboconfig: Disable some clang warnings.
Hopefully fixes:
scanner.c:4128:17: error: unused function 'yyunput' [-Werror,-Wunused-function]
static void yyunput (int c, register char * yy_bp )
^
scanner.c:4173:16: error: function 'input' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
static int input (void)
^
2 errors generated.
commit 53be6eefcb3d53634e04ffb1ca3db7fd7f064c34
Author: Florian Forster <octo at collectd.org>
Date: Tue Jun 16 23:06:56 2015 +0200
liboconfig: Declare yyparse().
Should hopefully fix:
oconfig.c:68:12: error: implicit declaration of function 'yyparse' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
status = yyparse ();
^
More information about the collectd-changes
mailing list