Krzysztof Oledzki wrote:
> Hello,
>
> This patch properly terminates the "output" string so both returned and
> logged (syslog) values are correct.
>
> The bug was introduced in nrpe-2.8 (multiline plugin output) -
> previously the child process was able to return a properly termintaed
> c-string but now, when fread() is used instead of fgets(), the received
> string (output) is not terminated and my_system() returns and logs some
> kind of garbage.
>
> I also decided to remove two unused variables.
>
> Best regards,
>
> Krzysztof Olêdzki
>
Thanks Krzysztof! Patch will be in CVS momentarily...
Ethan Galstad
Nagios Developer
___
Email: [email protected]
Web: www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]