Merge pull request #668 from edieterich/auditlog_segfault

Fix segmentation fault on auditlog