commit | bc0af6a19947c7ab76bd226beaaaafedc0648be4 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Oct 29 17:21:20 2020 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Oct 29 18:52:44 2020 +0100 |
tree | d88a75c539fd43d89d71f9b338d9e5814b279cc1 | |
parent | e6ba7915ebdfb79d1d74eb402bbc2747c4a1c6dd [diff] |
BUG/MINOR: lua: initialize sample before using it Memset the sample before using it through hlua_lua2smp. This function is ORing the smp.flags, so this field need to be cleared before its use. This was reported by a coverity warning. Fixes the github issue #929. This bug can be backported up to 1.8.