summaryrefslogtreecommitdiff
path: root/rpcapd/daemon.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-10-03 11:17:07 -0700
committerGuy Harris <guy@alum.mit.edu>2019-10-08 10:25:20 -0700
commit4f9bd8bc56e80dff58f3967406c5f2e78ce68ce3 (patch)
tree1c38530fdbabb8fe22f0d7c128451ee070fcf126 /rpcapd/daemon.c
parentfcf3db32cbebd0812e8a619b4cfc17f76985409c (diff)
downloadlibpcap-4f9bd8bc56e80dff58f3967406c5f2e78ce68ce3.tar.gz
Use pcap_strlcpy() rather than strncpy() to fill in p->errbuf.
That's what we do elsewhere, as it guarantees that we null-terminate the error message (not that we will ever overflow the buffer in that case, as the error message is definitely shorter than the error buffer size). (cherry picked from commit 39f906a547c0cc79a3d87a5e8bfd00da625431d6)
Diffstat (limited to 'rpcapd/daemon.c')
0 files changed, 0 insertions, 0 deletions