Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
omusrmsg bugfix: potential double free, which can cause segfault
omusrmsg frees a string which points to OS/system library memory. When the os/libs clean up, it frees the memory as well. This results in a double free. This bug interestingly seems to go unnoticed in many cases. But it can cause a segfault or hard-to-trace memory corruptions which could lead to other problems later on. The outcome of this bug most probably depdns on os/library versions. closes rsyslog#5294
- Loading branch information