Skip to content

wellbeing: Prevent potential cc_bar_chart_set_data OOB read

Currently, if the new n_data > self->n_data, the memcmp check will result in an OOB memory read.

Let's prevent that. Because the conditional get's even longer, let's also move the first check into its own if statement.

Merge request reports

Loading