Mercurial > dropbear
comparison runopts.h @ 1197:86a9e0204c03
ports and addresses must be malloced to avoid segfault on exit
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 02 Dec 2015 22:37:20 +0800 |
parents | 089b8e91472b |
children | 81063d78fe69 |
comparison
equal
deleted
inserted
replaced
1195:8a5e9a97bd7a | 1197:86a9e0204c03 |
---|---|
70 char * bannerfile; | 70 char * bannerfile; |
71 | 71 |
72 int forkbg; | 72 int forkbg; |
73 int usingsyslog; | 73 int usingsyslog; |
74 | 74 |
75 /* ports is an array of the portcount listening ports */ | 75 /* ports and addresses are arrays of the portcount |
76 listening ports. strings are malloced. */ | |
76 char *ports[DROPBEAR_MAX_PORTS]; | 77 char *ports[DROPBEAR_MAX_PORTS]; |
77 unsigned int portcount; | 78 unsigned int portcount; |
78 char *addresses[DROPBEAR_MAX_PORTS]; | 79 char *addresses[DROPBEAR_MAX_PORTS]; |
79 | 80 |
80 int inetdmode; | 81 int inetdmode; |