Re: [dpdk-dev] [PATCH v2] usertools: replace unsafe input function

2019-04-09 Thread Burakov, Anatoly
On 08-Apr-19 2:40 PM, Andrius Sirvys wrote: LGTM static code analysis tool reports that the function 'input' is unsafe. Changed to use raw_input which then converts it using ast.literal_eval() which is safe. Fixes: d1b94da4a4e0 ("usertools: add client script for telemetry") Cc: ciara.po...@intel

[dpdk-dev] [PATCH v2] usertools: replace unsafe input function

2019-04-08 Thread Andrius Sirvys
LGTM static code analysis tool reports that the function 'input' is unsafe. Changed to use raw_input which then converts it using ast.literal_eval() which is safe. Fixes: d1b94da4a4e0 ("usertools: add client script for telemetry") Cc: ciara.po...@intel.com Signed-off-by: Andrius Sirvys Acked-by: