GitHub PushEvent at 2014-07-22 04:18:44
Repository: ovs
Actor: blp
Payload: {"shas":[["78c8df129cceaa007a434bcb59a82315723ed8b6","6f50513b21952446fbc8c95a8f361b7aa434b7c7@nicira.com","cmap, classifier: Avoid unsafe aliasing in iterators.\n\nCMAP_FOR_EACH and CLS_FOR_EACH and their variants tried to use void ** as\na \"pointer to any kind of pointer\".  That is a violation of the aliasing\nrules in ISO C which technically yields undefined behavior.  With GCC 4.1,\nit causes both warnings and actual misbehavior.  One option would to add\n-fno-strict-aliasing to the compiler flags, but that would only help with\nGCC; who knows whether this can be worked around with other compilers.\n\nInstead, this commit rewrites the iterators to avoid disallowed pointer\naliasing.\n\nVMware-BZ: #1287651\nSigned-off-by: Ben Pfaff <blp@nicira.com>\nAcked-by: Jarno Rajahalme <jrajahalme@nicira.com>","Ben Pfaff",true],["1caa1561bebb22384c4fc232474c77147a24302a","6f50513b21952446fbc8c95a8f361b7aa434b7c7@nicira.com","classifier: Refactor cls_cursor_advance() to make it easier to follow.\n\nSigned-off-by: Ben Pfaff <blp@nicira.com>\nAcked-by: Jarno Rajahalme <jrajahalme@nicira.com>","Ben Pfaff",true]],"size":2,"ref":"refs/heads/master","head":"1caa1561bebb22384c4fc232474c77147a24302a"}