so far, we checked only the main queue size to become zero, ignoring
the sizes of action queues. For some tests, this caused racieness and
unreliability. Now, we check all queues. This should make matters
much more stable.
This forces generation of man pages, even if cached ones exists. This
"fixes" a typical release tarball nit. While it is hackish, the
benefit is clear given the history of failed tarball releases since
we changed the cached man page handling. It was just too easy to get
that wrong.
Error: RESOURCE_LEAK (CWE-772):
rsyslog-7.4.10/plugins/imudp/imudp.c:413: alloc_arg: "msgConstructWithTime(msg_t **, struct syslogTime *, time_t)" allocates memory that is stored into "pMsg".
rsyslog-7.4.10/runtime/msg.c:745:2: alloc_arg: "msgBaseConstruct(msg_t **)" allocates memory that is stored into "*ppThis".
rsyslog-7.4.10/runtime/msg.c:674:2: alloc_fn: Storage is returned from allocation function "malloc(size_t)".
rsyslog-7.4.10/runtime/msg.c:674:2: var_assign: Assigning: "pM" = "malloc(576UL)".
rsyslog-7.4.10/runtime/msg.c:725:2: var_assign: Assigning: "*ppThis" = "pM".
rsyslog-7.4.10/plugins/imudp/imudp.c:414: noescape: Resource "pMsg" is not freed or pointed-to in function "MsgSetRawMsg(msg_t *, char *, size_t)".
rsyslog-7.4.10/runtime/msg.c:2403:26: noescape: "MsgSetRawMsg(msg_t *, char *, size_t)" does not free or save its pointer parameter "pThis".
rsyslog-7.4.10/plugins/imudp/imudp.c:415: noescape: Resource "pMsg" is not freed or pointed-to in function "MsgSetInputName(msg_t *, prop_t *)".
rsyslog-7.4.10/runtime/msg.c:2208:29: noescape: "MsgSetInputName(msg_t *, prop_t *)" does not free or save its pointer parameter "pThis".
rsyslog-7.4.10/plugins/imudp/imudp.c:416: noescape: Resource "pMsg" is not freed or pointed-to in function "MsgSetRuleset(msg_t *, ruleset_t *)".
rsyslog-7.4.10/runtime/msg.c:1921:27: noescape: "MsgSetRuleset(msg_t *, ruleset_t *)" does not free or save its pointer parameter "pMsg".
rsyslog-7.4.10/plugins/imudp/imudp.c:417: noescape: Resource "pMsg" is not freed or pointed-to in function "MsgSetFlowControlType(msg_t *, flowControl_t)".
rsyslog-7.4.10/runtime/msg.c:1755:30: noescape: "MsgSetFlowControlType(msg_t *, flowControl_t)" does not free or save its pointer parameter "pMsg".
rsyslog-7.4.10/plugins/imudp/imudp.c:421: noescape: Resource "pMsg" is not freed or pointed-to in function "msgSetFromSockinfo(msg_t *, struct sockaddr_storage *)".
rsyslog-7.4.10/runtime/msg.c:2229:27: noescape: "msgSetFromSockinfo(msg_t *, struct sockaddr_storage *)" does not free or save its pointer parameter "pThis".
rsyslog-7.4.10/plugins/imudp/imudp.c:436: leaked_storage: Variable "pMsg" going out of scope leaks the storage it points to.