[PATCH] telemetry: reset data before passing it to callback

Robin Jarry rjarry at redhat.com
Wed Feb 8 13:32:53 CET 2023


Bruce Richardson, Feb 08, 2023 at 10:03:
> This is also fixed by patch http://patches.dpdk.org/project/dpdk/patch/20230120033456.29710-3-fengchengwen@huawei.com/
>
> While both work the same way, I think I prefer the fix to set "= {0}" on
> init rather than explicit memset.

Oh I had missed that one. Any of these two patches should be applied and
backported. Feel free to take the first one that was sent :)

As I said in the commit message, it can cause the whole application to
crash. It may also expose data from other telemetry endpoint handlers to
other handlers, I don't think this can be considered as a security issue
but I may be wrong.



More information about the stable mailing list