[Nagiosplug-devel] Patch to fix check_tcp memory allocation

Karl DeBisschop karl at debisschop.net
Wed Jan 21 04:54:02 CET 2004


On Tue, 2004-01-20 at 03:12, David wrote:
> check_tcp was allocating 1 byte per server expect string pointer, instead
> of sizeof(char *) per pointer. Confirmed with electricfence with an
> alignment of 1 - a segfault occurs.
> 
> The attached patch (against 1.3.1) fixes this problem.
> 
> Please cc me on any response, I am not on this list.

patch applied to HEAD and tsbale branches.

Thanks.

--
Karl





More information about the Devel mailing list