[dpdk-stable] [PATCH v2] hash: fix sprintf with snprintf

Wang, Yipeng1 yipeng1.wang at intel.com
Mon Mar 25 19:05:32 CET 2019


Sorry for the late reply, but I noticed the test folder is recently moved under app so you may need a rebase.

Please keep my ack after rebase:  Acked-by: Yipeng Wang <yipeng1.wang at intel.com>

>-----Original Message-----
>From: Poornima, PallantlaX
>Sent: Monday, March 25, 2019 7:43 AM
>To: dev at dpdk.org
>Cc: Pattan, Reshma <reshma.pattan at intel.com>; Wang, Yipeng1 <yipeng1.wang at intel.com>; Gobriel, Sameh
><sameh.gobriel at intel.com>; Richardson, Bruce <bruce.richardson at intel.com>; De Lara Guarch, Pablo
><pablo.de.lara.guarch at intel.com>; stephen at networkplumber.org; stable at dpdk.org
>Subject: RE: [PATCH v2] hash: fix sprintf with snprintf
>
>Hi,
>
>>-----Original Message-----
>>From: Poornima, PallantlaX
>>Sent: Thursday, February 14, 2019 6:28 PM
>>To: dev at dpdk.org
>>Cc: Pattan, Reshma <reshma.pattan at intel.com>; Wang, Yipeng1
>><yipeng1.wang at intel.com>; Gobriel, Sameh <sameh.gobriel at intel.com>;
>>Richardson, Bruce <bruce.richardson at intel.com>; De Lara Guarch, Pablo
>><pablo.de.lara.guarch at intel.com>; stephen at networkplumber.org;
>>Poornima, PallantlaX <pallantlax.poornima at intel.com>; stable at dpdk.org
>>Subject: [PATCH v2] hash: fix sprintf with snprintf
>>
>>sprintf function is not secure as it doesn't check the length of string.
>>More secure function snprintf is used.
>>
>>Fixes: 473d1bebce ("hash: allow to store data in hash table")
>>Cc: stable at dpdk.org
>>
>>Signed-off-by: Pallantla Poornima <pallantlax.poornima at intel.com>
>>---
>>v2: Addressed review comment to correct the format specifier of
>>hastest_key_lens.
>>---
>
>
>Request for ACK please if there are no comments
>
>Regards,
>Poornima


More information about the stable mailing list