You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnsc_set_err(tg, EINVAL, "ERROR: %s: Set strip_fcs=%"PRId64", but interface"
" %s set to %d\n", __func__,
attr->strip_fcs, fcs_interface,
vi_group->sc_vi_group.svg_strip_fcs);
In file included from include/sc_internal.h:26,
from core/internal.h:13,
from core/sc_vi.c:6:
core/sc_vi.c: In function 'sc_vi_group_alloc__ef_vi':
include/sc_internal/utils.h:104:3: error: pointer 'vi_group' used after 'free' [-Werror=use-after-free]
104 | __sc_set_err((tg), __FILE__, __LINE__, __func__, (errno_code), __VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core/sc_vi.c:74:14: note: in expansion of macro 'sc_set_err'
74 | return sc_set_err(tg, EINVAL, "ERROR: %s: Set strip_fcs=%"PRId64", but interface"
| ^~~~~~~~~~
core/sc_vi.c:73:7: note: call to 'free' here
73 | free(vi_group);
| ^~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
Looks like a real bug to me, not a false alarm.
solarcapture/src/core/sc_vi.c
Lines 73 to 77 in 2fd9eb9
The text was updated successfully, but these errors were encountered: