summaryrefslogtreecommitdiff
path: root/rnd.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-07-25 08:27:30 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-07-25 08:27:30 +0200
commit9ef1dd15551f4a4d126a55d38fccbe568920ad8f (patch)
treebe6594cb0d2074018d3ce355fb4dc2739cba1ca1 /rnd.c
parent2de653340c789c2ef4b442b146c3f3e53e306c31 (diff)
mausezahn: Increase buffer size for listen address string
Commit 2de653340c ("mausezahn: bind to IP address in interactive mode") introduced mz_listen_addr of size 15 to hold the IP address to bind to. Since an address can be maximum 15 characters long, this doesn't account for the terminating '\0'. Fix this by increasing the buffer size to 16. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'rnd.c')
0 files changed, 0 insertions, 0 deletions