sonic-utilities icon indicating copy to clipboard operation
sonic-utilities copied to clipboard

Potential risk of acl_loader missing ctx in main function

Open inspurSDN opened this issue 2 years ago • 1 comments

Issue: Potential risk about cli() function without ctx in main function of acl_loader

Root cause: SONiC will call cli() directly in acl-loader. But it still exist potential risk when run main in acl-loader

Solution: Remover main funcion which missing ctx object and remain cli() function for acl-loader call directly

inspurSDN avatar Jun 07 '22 03:06 inspurSDN

@lguohan could you help to review it?

inspurSDN avatar Jul 07 '22 07:07 inspurSDN

@qiluo-msft , can you check this pr?

lguohan avatar Apr 10 '23 16:04 lguohan