Fix segfault in pkg audit -F

Submitted by:	many
Fix segfault in event pipe

Reported by:	kmoore