Merge pull request #3359 from Stackdriver/igorpeshansky-upstream-read_text_file_contents2020-01-07T13:53:17ZMatthias Rungemrunge@redhat.comGitHubnoreply@github.com2020-01-07T13:53:17Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=5ebc182261321f0781f38d8645bfc7c74353434c
Merge pull request #3359 from Stackdriver/igorpeshansky-upstream-read_text_file_contents
Factor out read_text_file_contents to ensure that data read from text files is a valid C string.
Fix unreachable clause where both tmp_plugin and tmp_plugin_instance are non-empty.2019-11-27T21:32:39ZLing Huanglingshi@google.comLing Huanglingshi@google.com2019-11-27T21:32:39Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=883b41f5af2fc46d2d08e8dd23308d8d263e2c22
Fix unreachable clause where both tmp_plugin and tmp_plugin_instance are non-empty.
Factor out read_text_file_contents to ensure that data read from text files is a... 2019-12-19T17:12:14ZIgor Peshanskyigorp@google.comIgor Peshanskyigorp@google.com2019-12-19T17:12:14Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=f7ba1418d1e2f18a53c19d28bb1be71f8f2b5c64
Factor out read_text_file_contents to ensure that data read from text files is a valid C string.
network: Add missing freeaddrinfo on error path.2019-12-04T15:33:55ZRyan McCabermccabe@redhat.comRyan McCabermccabe@redhat.com2019-12-04T15:33:55Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=de407dd4e036f73e9bd4658af9d71f504fc11109
network: Add missing freeaddrinfo on error path.
Add a missing freeaddrinfo on an error path to fix a memory leak
in the network code.
Changelog: network: Fix memory leak.
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
amqp1: Fix leaks on error paths2019-12-04T15:32:15ZRyan McCabermccabe@redhat.comRyan McCabermccabe@redhat.com2019-12-04T15:32:15Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=f22e31f058941a4d3f72a98d4d24264c07afd080
amqp1: Fix leaks on error paths
Fix a few memory leaks on error paths in the amqp1 plugin.
ChangeLog: amqp1 plugin: Fix leaks on error paths.
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
Avoid using sysctl on linux & allow for OpenBSD case2019-11-09T12:41:38ZZebity Springzebity@yahoo.comZebity Springzebity@yahoo.com2019-11-09T12:41:38Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=4a2ec3e0f8dcc94ca9f05bfd0b02645c309e4430
Avoid using sysctl on linux & allow for OpenBSD case
Avoid using sysctl on linux2019-11-09T12:05:22ZZebity Springzebity@yahoo.comZebity Springzebity@yahoo.com2019-11-09T12:05:22Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=270cadc40a1e935c7d126a70ea58f7d1c2144d7d
Avoid using sysctl on linux2019-11-09T11:43:36ZZebity Springzebity@yahoo.comZebity Springzebity@yahoo.com2019-11-09T11:43:36Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=d748379ea585d52338913a6ba589842ae05ab78a
Avoid using sysctl on linux2019-11-09T11:31:23ZZebity Springzebity@yahoo.comZebity Springzebity@yahoo.com2019-11-09T11:31:23Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=ac1c1538e338f7f04deaff68604d36bba6ab4237
Avoid using sysctl on linux2019-11-09T11:26:39ZZebity Springzebity@yahoo.comZebity Springzebity@yahoo.com2019-11-09T11:26:39Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=0405e3e6d5aff60bc4fc96c3168c6f8f49e71415
Avoid using sysctl on linux2019-11-09T01:39:07ZZebity Springzebity@yahoo.comZebity Springzebity@yahoo.com2019-11-09T01:39:07Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=a937f26018fe83f66a18e9e4e4d2374db052687b
Avoid using sysctl on linux2019-11-08T13:04:07ZZebity Springzebity@yahoo.comZebity Springzebity@yahoo.com2019-11-08T13:04:07Zhttps://git.octo.it/?p=collectd.git;a=commitdiff;h=ba1032ee3f400ae7210fca0b21d96c593d99286d
turbostat: Fix parsing warnings
Fix warnings generated by the turbostat plugin due to trailing
characters while picking out the first number in a range.
ChangeLog: turbostat plugin: Fix parsing warnings.
PR: #2365
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>