> -Original Message-
> From: Stephen Hemminger
> Sent: Tuesday, April 28, 2020 12:59 AM
> To: Phil Yang
> Cc: jer...@marvell.com; sk...@marvell.com; dev@dpdk.org;
> david.march...@redhat.com; Lijian Zhang ;
> Ruifeng Wang ; nd
> Subject: Re: [dpdk-dev] [PATCH] t
On Tue, 28 Apr 2020 00:47:38 +0800
Phil Yang wrote:
> - if (strlen(optarg) >= size) {
> + /* the specified trace directory name cannot
> + * exceed PATH_MAX-1.
> + */
> + if (strlen(optarg) >= (size - 1)) {
> trace_err("input string is too big");
strnlen() is
2 matches
Mail list logo