[ovs-dev] [threads 12/17] odp-util: Avoid returning static data in ovs_key_attr_to_string().

Ben Pfaff blp at nicira.com
Mon Jun 10 18:16:00 UTC 2013


On Fri, Jun 07, 2013 at 04:14:20PM -0700, Ansis Atteka wrote:
> On Wed, Jun 5, 2013 at 1:05 PM, Ben Pfaff <blp at nicira.com> wrote:
> 
> > Returning a static data buffer makes code more brittle and definitely
> > not thread-safe, so this commit switches to using a caller-provided
> > buffer instead.
> >
> > Signed-off-by: Ben Pfaff <blp at nicira.com>
> >
> Acked-by: Ansis Atteka <aatteka at nicira.com>

Thanks, applied to master.



More information about the dev mailing list