[ovs-git] [openvswitch/ovs] 0cf89e: util: Fix definition of LIST_FOR_EACH_CONTINUE mac...
GitHub
noreply at github.com
Fri Oct 2 13:25:46 UTC 2015
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 0cf89e44ef657b662ee3e086cd5aebe3324ea524
https://github.com/openvswitch/ovs/commit/0cf89e44ef657b662ee3e086cd5aebe3324ea524
Author: Mauricio Vásquez <mauricio.vasquezbernal at studenti.polito.it>
Date: 2015-10-02 (Fri, 02 Oct 2015)
Changed paths:
M AUTHORS
M lib/list.h
Log Message:
-----------
util: Fix definition of LIST_FOR_EACH_CONTINUE macro.
The definition of the INIT_CONTAINER macro initializes ITER to NULL,
it will cause a segmentation fault when it is deferenced on
(ITER)->MEMBER.next, then, I changed it to the ASSIGN_CONTAINER macro that
does not initialize ITER.
This does not fix any observable bug because LIST_FOR_EACH_CONTINUE is not
used anywhere.
Signed-off-by: Mauricio Vasquez B <mauricio.vasquezbernal at studenti.polito.it>
Signed-off-by: Ben Pfaff <blp at nicira.com>
More information about the git
mailing list