summaryrefslogtreecommitdiffstats
path: root/contrib/libarchive/libarchive/archive_write_set_format_pax.c
diff options
context:
space:
mode:
authorvangyzen <vangyzen@FreeBSD.org>2017-02-10 16:11:11 +0000
committervangyzen <vangyzen@FreeBSD.org>2017-02-10 16:11:11 +0000
commit58b22c1b2c60ef4d8f1b33b394a9b44e04507ca1 (patch)
tree153013e288517cc1a32f229b7c796abff8d8ea81 /contrib/libarchive/libarchive/archive_write_set_format_pax.c
parent24a80a3173e1990c42b9f5db56d2736189decc2f (diff)
downloadFreeBSD-src-58b22c1b2c60ef4d8f1b33b394a9b44e04507ca1.zip
FreeBSD-src-58b22c1b2c60ef4d8f1b33b394a9b44e04507ca1.tar.gz
MFC r313401
Fix garbage IP addresses in UDP log_in_vain messages If multiple threads emit a UDP log_in_vain message concurrently, or indeed call inet_ntoa() for any other reason, the IP addresses could be garbage due to concurrent usage of a single string buffer inside inet_ntoa(). Use inet_ntoa_r() with two stack buffers instead. Relnotes: yes Sponsored by: Dell EMC
Diffstat (limited to 'contrib/libarchive/libarchive/archive_write_set_format_pax.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud