Coverity 72644
Coverity 72644
This commit is contained in:
@ -175,7 +175,7 @@ void gw_daemonize(void) {
|
|||||||
int
|
int
|
||||||
parse_bindconfig(char *config, unsigned short def_port, struct sockaddr_in *addr)
|
parse_bindconfig(char *config, unsigned short def_port, struct sockaddr_in *addr)
|
||||||
{
|
{
|
||||||
char *port, buf[1024];
|
char *port, buf[1024 + 1];
|
||||||
short pnum;
|
short pnum;
|
||||||
struct hostent *hp;
|
struct hostent *hp;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user