1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-07 13:14:51 +00:00
freebsd/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
logger.c logger: fix memory leak and use-after-free 2018-05-28 02:40:06 +00:00
Makefile
Makefile.depend