microsoft/ftl-sdk

Memory corruption

notr1ch opened this issue · 1 comments

The code copies sizeof(status_queue_elmt_t) into buffer that is only sizeof(stats_msg):
https://github.com/mixer/ftl-sdk/blob/d0c8469f66806b5ea738d607f7d2b000af8b1129/libftl/ftl_helpers.c#L196

Issue discovered through PVS Studio static analysis while building OBS Studio. Many other more minor issues were also identified, I suggest running your own analysis on the code to fix these.

Closing as Mixer / FTL are now dead.