<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monitoring-plugins/lib, branch v2.1</title>
<subtitle>Monitoring Plugins
</subtitle>
<id>https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=v2.1</id>
<link rel='self' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=v2.1'/>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/'/>
<updated>2014-10-06T20:09:10Z</updated>
<entry>
<title>Revert "Make use of xasprintf instead of asprintf"</title>
<updated>2014-10-06T20:09:10Z</updated>
<author>
<name>Holger Weiss</name>
<email>holger@zedat.fu-berlin.de</email>
</author>
<published>2014-10-06T20:09:10Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=f40fc650f7a49ed6445a8eddf2f1af435592ec7b'/>
<id>urn:sha1:f40fc650f7a49ed6445a8eddf2f1af435592ec7b</id>
<content type='text'>
This reverts commit a143739ed286cf9ae003792dbb1ce26ce43f3312.

Our current setup doesn't allow lib/*.c files to call functions defined
in plugins/utils.[ch].
</content>
</entry>
<entry>
<title>Make use of xasprintf instead of asprintf</title>
<updated>2014-07-30T12:53:07Z</updated>
<author>
<name>Jan Wagner</name>
<email>waja@cyconet.org</email>
</author>
<published>2014-07-30T12:53:07Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=a143739ed286cf9ae003792dbb1ce26ce43f3312'/>
<id>urn:sha1:a143739ed286cf9ae003792dbb1ce26ce43f3312</id>
<content type='text'>
---
Closes #1278
</content>
</entry>
<entry>
<title>lib/utils_base.c: if asprintf fails, string is undefined</title>
<updated>2014-07-30T12:48:09Z</updated>
<author>
<name>Ricardo Maraschini</name>
<email>ricardo.maraschini@gmail.com</email>
</author>
<published>2014-01-22T11:03:51Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=15d14d28bb8297342fd7716162a2c8c50705b69d'/>
<id>urn:sha1:15d14d28bb8297342fd7716162a2c8c50705b69d</id>
<content type='text'>
if asprintf fails, string content becomes invalid. we need
to check if it ran OK by checking the returned value.

in case of fail, asprintf returns -1, otherwise the number
of writen bytes is returned.

also, on ubuntu 13.10 i've receiving a lot of warnings:

"warning: ignoring return value of ‘asprintf’"

this patches fixes some of them

Signed-off-by: Ricardo Maraschini &lt;ricardo.maraschini@gmail.com&gt;
---
Closes #1227
</content>
</entry>
<entry>
<title>check_icmp/check_dhcp: disable check, if we are root</title>
<updated>2014-07-06T11:29:24Z</updated>
<author>
<name>Jan Wagner</name>
<email>waja@cyconet.org</email>
</author>
<published>2014-07-06T10:58:04Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=ba21e26443385dd283d08e0419ff6ff25fedd0e8'/>
<id>urn:sha1:ba21e26443385dd283d08e0419ff6ff25fedd0e8</id>
<content type='text'>
As it is possible to use capabilities(7) on linux or solaris
privileges for example, it is not necessary in all cases to
have those binaries making use of setuid.
</content>
</entry>
<entry>
<title>lib/utils_cmd.c - Free file descriptor</title>
<updated>2014-06-28T16:24:46Z</updated>
<author>
<name>Spenser Reinhardt</name>
<email>sreinhardt@nagios.com</email>
</author>
<published>2014-06-23T18:54:39Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=9123f6146c5dd3285d8fb78cf3a8cd52bad17ec1'/>
<id>urn:sha1:9123f6146c5dd3285d8fb78cf3a8cd52bad17ec1</id>
<content type='text'>
Coverity 66502 - File descriptor fd in cmd_file_read is never closed, and thus file is left open after usage throughout runtime. - SR
</content>
</entry>
<entry>
<title>Add UID to state retention file path</title>
<updated>2014-06-21T13:15:44Z</updated>
<author>
<name>Holger Weiss</name>
<email>holger@zedat.fu-berlin.de</email>
</author>
<published>2014-06-21T13:15:44Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=eb85a612a3321c57efbd672f8b11bfefbc659876'/>
<id>urn:sha1:eb85a612a3321c57efbd672f8b11bfefbc659876</id>
<content type='text'>
Add the UID of the invoking user to the state retention file path.  This
helps solving permission issues when different users run the same
plugin.
</content>
</entry>
<entry>
<title>lib/parse_ini.c: Print proper read error message</title>
<updated>2014-06-18T21:42:57Z</updated>
<author>
<name>Holger Weiss</name>
<email>holger@zedat.fu-berlin.de</email>
</author>
<published>2014-06-18T21:42:57Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=dc0f25cf76397b13f39a1d0fc50e9174114478ca'/>
<id>urn:sha1:dc0f25cf76397b13f39a1d0fc50e9174114478ca</id>
<content type='text'>
Print a useful error message if opening the configuration file fails.
</content>
</entry>
<entry>
<title>lib/parse_ini.c: Drop privileges for reading file</title>
<updated>2014-06-18T21:22:12Z</updated>
<author>
<name>Holger Weiss</name>
<email>holger@zedat.fu-berlin.de</email>
</author>
<published>2014-06-18T21:22:12Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=48025ff39c3a78b7805bf803ac96730cef53e15c'/>
<id>urn:sha1:48025ff39c3a78b7805bf803ac96730cef53e15c</id>
<content type='text'>
Read the configuration file with privileges temporarily dropped if the
code is used by a setuid plugin.
</content>
</entry>
<entry>
<title>lib/parse_ini.c: Add newline to die() calls</title>
<updated>2014-06-18T21:15:21Z</updated>
<author>
<name>Holger Weiss</name>
<email>holger@zedat.fu-berlin.de</email>
</author>
<published>2014-06-18T21:15:21Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=2bf7647be60cd53d9e54fdcf970a90fe08797819'/>
<id>urn:sha1:2bf7647be60cd53d9e54fdcf970a90fe08797819</id>
<content type='text'>
Our die() function doesn't append a newline character to the message.
</content>
</entry>
<entry>
<title>lib/parse_ini.c: Cosmetic change</title>
<updated>2014-06-18T21:09:02Z</updated>
<author>
<name>Holger Weiss</name>
<email>holger@zedat.fu-berlin.de</email>
</author>
<published>2014-06-18T21:09:02Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=b81c10e00cc71bf1be90510114e410ed691dc266'/>
<id>urn:sha1:b81c10e00cc71bf1be90510114e410ed691dc266</id>
<content type='text'>
Replace an "if" with the ternary operator.
</content>
</entry>
</feed>
