Comment 3 for bug 798333

fixed in 3.22.4, 4.6.6, 5.8.2, 5.9.1. Fix for v6 with next merge (which is a large task to do).

"Official" patch here:

http://git.adiscon.com/?p=rsyslog.git;a=commitdiff;h=da52cbae520e747568162ad558bf01d40658c745

Thanks for the bug report and analysis!