tcpdump mailing list archives

snprintf in libpcap


From: Michael Richardson via tcpdump-workers <tcpdump-workers () lists tcpdump org>
Date: Mon, 2 Mar 2020 16:22:05 -0500 (EST)

--- Begin Message --- From: Michael Richardson <mcr () sandelman ca>
Date: Mon, 02 Mar 2020 16:23:09 -0500
Back in 2016, we note in the CHANGES:
    Replace sprintf() with pcap_snprintf().

but, we have no prototype for this, and apparently no definition, and we use
snprintf() everywhere.  I'm trying to merge Ray's changes which are rebased
into pull request #914.

I think that we just use "snprintf()" now.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     mcr () sandelman ca  http://www.sandelman.ca/        |   ruby on rails    [




--- End Message ---
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: