On 7/17/24 15:40, Mike Pattrick wrote: > On Wed, Jul 17, 2024 at 8:01 AM Ilya Maximets <[email protected]> wrote: >> >> For some reason GCC 14.1.1 on Fedora 41 assumes that format can >> be NULL and emits a warning: >> >> lib/util.c: In function 'xvasprintf': >> lib/util.c:229:14: error: null format string >> 229 | needed = vsnprintf(NULL, 0, format, args); >> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> I didn't find any users where this can be true. Adding an >> assertion to silence the warning. In the worst case we'll >> find out where it is being called incorrectly. >> >> Signed-off-by: Ilya Maximets <[email protected]> > > Acked-by: Mike Pattrick <[email protected]> >
Thanks, Mike! Applied and backported down to 2.17. Best regards, Ilya Maximets. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
