[dpdk-dev] [PATCH] timer: fix pointer to local outside scope
Thomas Monjalon
thomas at monjalon.net
Fri May 3 22:57:00 CEST 2019
24/04/2019 16:33, Erik Gabriel Carrillo:
> A null array is allowed to be passed as one of the parameters to
> rte_timer_alt_manage() as a convenience. When that happened, an
> anonymous array was created using compound literal syntax, and Coverity
> detected that the object was out of scope in later uses of it. Create
> an object in the proper scope instead.
>
> Coverity issue: 337919
> Fixes: c0749f7096c7 ("timer: allow management in shared memory")
> Cc: stable at dpdk.org
No need to Cc stable for a commit introduced in this release.
> Signed-off-by: Erik Gabriel Carrillo <erik.g.carrillo at intel.com>
Applied, thanks
More information about the dev
mailing list