Re: [lng-odp] [PATCH] validation: tm: use strncmp() to avoid potential string overrun

2016-08-05 Thread Maxim Uvarov
Merged, Maxim. On 08/04/16 20:53, Bill Fischofer wrote: On Thu, Aug 4, 2016 at 10:23 AM, Mike Holmes wrote: On 3 August 2016 at 17:06, Bill Fischofer wrote: Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2426 by switching from strcmp() to strncmp() Signed-off-by: Bill Fischofer R

Re: [lng-odp] [PATCH] validation: tm: use strncmp() to avoid potential string overrun

2016-08-04 Thread Bill Fischofer
On Thu, Aug 4, 2016 at 10:23 AM, Mike Holmes wrote: > > > On 3 August 2016 at 17:06, Bill Fischofer > wrote: > >> Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2426 by switching >> from >> strcmp() to strncmp() >> >> Signed-off-by: Bill Fischofer >> > > Reviewd-by: Mike Holmes > > This r

Re: [lng-odp] [PATCH] validation: tm: use strncmp() to avoid potential string overrun

2016-08-04 Thread Mike Holmes
On 3 August 2016 at 17:06, Bill Fischofer wrote: > Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2426 by switching from > strcmp() to strncmp() > > Signed-off-by: Bill Fischofer > Reviewd-by: Mike Holmes This raises a question on how many name lengths we need, maybe all the public API o

[lng-odp] [PATCH] validation: tm: use strncmp() to avoid potential string overrun

2016-08-03 Thread Bill Fischofer
Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2426 by switching from strcmp() to strncmp() Signed-off-by: Bill Fischofer --- test/common_plat/validation/api/traffic_mngr/traffic_mngr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common_plat/validation/api/traff