freebsd-skq/usr.bin/logger
Eric van Gyzen 488ee96b85 logger: fix memory leak and use-after-free
This one call to getaddrinfo() did not adhere to the common idiom
of storing the result into a second res0 variable, which is later freed.

Reported by:	Coverity
CID:		1368069 1368071
Sponsored by:	Dell EMC
2018-05-28 02:40:06 +00:00
..
logger.1 Generate fully RFC3164 compliant messages, with timestamp and hostname. 2017-12-05 19:55:53 +00:00
logger.c logger: fix memory leak and use-after-free 2018-05-28 02:40:06 +00:00
Makefile
Makefile.depend