> -----Original Message----- > From: Ori Kam <[email protected]> > Sent: Tuesday, February 4, 2020 1:40 PM > To: Lu, Wenzhuo <[email protected]>; Wu, Jingjing > <[email protected]>; Iremonger, Bernard > <[email protected]> > Cc: [email protected]; [email protected]; Yigit, Ferruh > <[email protected]>; [email protected] > Subject: [PATCH v4] app/testpmd: fix copying the name of the dynflag > > When working with testpmd and setting the dynflag name, we copy the > name given by the cmd to the dynflag name. > > The issue is that the size of the dynflag name is smaller then the string used > by testpmd. > > This commit solves this issue by checking that the length of the requested > flag name is not too long. > > Coverity issue: 353610 > > Fixes: b57b66a97ebf ("app/testpmd: support mbuf dynamic flag") > > Signed-off-by: Ori Kam <[email protected]>
Acked-by: Bernard Iremonger <[email protected]>

