Joe Bassis <joe.bassis@xxxxxxxxx> writes: > I would like to know why mudflap says there is an error on line 22. Is > it a false positive ? > if(getaddrinfo("localhost", "25", &hints, &result) != 0) > { > return -1; > } > > int newsocket = socket(result->ai_family, result->ai_socktype, > result->ai_protocol); // line 22 I think the problem is that mudflap does not know about the getaddrinfo function, and does not understand that it sets result to point to an initialized memory block. Ian