10/11/2026 10:05, Bruce Richardson:
> On Mon, Nov 09, 2026 at 06:04:03PM -0800, Stephen Hemminger wrote:
> > rte_cfgfile_section_num_entries() returns -1 on error, which is used
> > unchecked as a VLA size. With LTO gcc inlines the library call, sees
> > the -1 path and fails with -Wvla-larger-than.
> > 
> > Return error if the entry count is negative.
> > 
> > Fixes: db935d0171dd ("examples/qos_sched: use librte_cfgfile")
> > Cc: [email protected]
> > 
> > Signed-off-by: Stephen Hemminger <[email protected]>
> 
> Acked-by: Bruce Richardson <[email protected]>

Applied, thanks.


Reply via email to