{"push_id":1969144404,"size":15,"distinct_size":15,"ref":"refs/heads/master","head":"48e042e5df1d630db1e1bf8a0787632b57220432","before":"bcab2b254c0262bb02c713f72a67b65f861cf9bf","commits":[{"sha":"40543d42d503991fb521795b026afc2e451abe11","author":{"name":"hwangcc23","email":"3bed0a499874be70f04ac3b61c20cc4aacb3a512@csie.nctu.edu.tw"},"message":"Fix double free\n\nIn the mainloop function, calling __skynet_free__ frees the pointer which may has already been freed in __push_socket_data__.\n\nmainloop(struct skynet_context * context, void * ud, int type, int session, uint32_t source, const void * msg, size_t sz) {\n        struct harbor * h = ud;\n        switch (type) {\n        case PTYPE_SOCKET: {\n                const struct skynet_socket_message * message = msg;\n                switch(message->type) {\n                case SKYNET_SOCKET_TYPE_DATA:\n                        push_socket_data(h, message);\n                        skynet_free(message->buffer);\n                        // skip...\n\nTo fix this potential double-free bug, clear the pointer message->buffer in __push_socket_data__ after the pointer is freed.","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/40543d42d503991fb521795b026afc2e451abe11"},{"sha":"fad154f474a29d471066e6d60bc86f68333061f7","author":{"name":"云风","email":"7b6519bf7c66da7debe5f02ccf62fb28c7811aa3@gmail.com"},"message":"remove this free would be better","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/fad154f474a29d471066e6d60bc86f68333061f7"},{"sha":"d0fbf0802f58619fa218ffde4f9a4871bb945602","author":{"name":"云风","email":"7b6519bf7c66da7debe5f02ccf62fb28c7811aa3@gmail.com"},"message":"Merge pull request #722 from hwangcc23/fix-double-free\n\nFix double free","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/d0fbf0802f58619fa218ffde4f9a4871bb945602"},{"sha":"525279e9dd2717e57b6886ddc5a4658a9bd18f72","author":{"name":"Cloud Wu","email":"7b6519bf7c66da7debe5f02ccf62fb28c7811aa3@gmail.com"},"message":"lua bugfix, see http://lua-users.org/lists/lua-l/2017-08/msg00065.html","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/525279e9dd2717e57b6886ddc5a4658a9bd18f72"},{"sha":"7be5ea01484eac2765b7faefe327c7d7093450be","author":{"name":"dmx","email":"3111262da3495860f3c4c7e0a74370f8d0d03f61@gmail.com"},"message":"using clock_gettime in macos(in macos_10.12 and laster)","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/7be5ea01484eac2765b7faefe327c7d7093450be"},{"sha":"9d74307836899d9b05970159a9de3d003d123762","author":{"name":"云风","email":"7b6519bf7c66da7debe5f02ccf62fb28c7811aa3@gmail.com"},"message":"Merge pull request #725 from dingmingxin/master\n\nusing clock_gettime in macos(in macos_10.12 and later)","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/9d74307836899d9b05970159a9de3d003d123762"},{"sha":"932ebfa0fd3cdc5fc2169d995c81919eb0e791f3","author":{"name":"Cloud Wu","email":"7b6519bf7c66da7debe5f02ccf62fb28c7811aa3@gmail.com"},"message":"lua bugfix","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/932ebfa0fd3cdc5fc2169d995c81919eb0e791f3"},{"sha":"dab441933513214519dc63ca554be1ab11282e95","author":{"name":"Cloud Wu","email":"7b6519bf7c66da7debe5f02ccf62fb28c7811aa3@gmail.com"},"message":"catch error , see #726","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/dab441933513214519dc63ca554be1ab11282e95"},{"sha":"596e8cfab25b4e9377452b1acaca8245ea0ccf89","author":{"name":"hwangcc23","email":"3bed0a499874be70f04ac3b61c20cc4aacb3a512@csie.nctu.edu.tw"},"message":"Properly initialize sigaction struct\n\nThe code in skynet_main.c wasn't clearing the struct sigaction before passing it to sigaction().\nThis meant that we would block a random set of signals while executing the SIGPIPE handler, or jump to the uninitialized __sa_sigaction__ (instead of sa_handler).\nInitialize properly as we do in skynet_start.c.","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/596e8cfab25b4e9377452b1acaca8245ea0ccf89"},{"sha":"415459e6569ef798307159fd0ebee7058c6d80f0","author":{"name":"云风","email":"7b6519bf7c66da7debe5f02ccf62fb28c7811aa3@gmail.com"},"message":"Merge pull request #728 from hwangcc23/init-sigaction\n\nProperly initialize sigaction struct","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/415459e6569ef798307159fd0ebee7058c6d80f0"},{"sha":"553c30c6d1599fe97fe943cc0b78b7b3c05cdbc2","author":{"name":"Cloud Wu","email":"7b6519bf7c66da7debe5f02ccf62fb28c7811aa3@gmail.com"},"message":"sproto.default returns array type","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/553c30c6d1599fe97fe943cc0b78b7b3c05cdbc2"},{"sha":"100329f09f78bf32965e8ea0e859da2082293306","author":{"name":"Cloud Wu","email":"7b6519bf7c66da7debe5f02ccf62fb28c7811aa3@gmail.com"},"message":"official lua bugfix","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/100329f09f78bf32965e8ea0e859da2082293306"},{"sha":"c8d6ffd393bd7754fb9933e4a3bc95fc07790db5","author":{"name":"Cloud Wu","email":"7b6519bf7c66da7debe5f02ccf62fb28c7811aa3@gmail.com"},"message":"pthread may call __libc_memalign, see #731","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/c8d6ffd393bd7754fb9933e4a3bc95fc07790db5"},{"sha":"d8798a280a934f73b52de8e39dc085fefd87b3ff","author":{"name":"Cloud Wu","email":"7b6519bf7c66da7debe5f02ccf62fb28c7811aa3@gmail.com"},"message":"Revert \"pthread may call __libc_memalign, see #731\"\n\nThis reverts commit c8d6ffd393bd7754fb9933e4a3bc95fc07790db5.","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/d8798a280a934f73b52de8e39dc085fefd87b3ff"},{"sha":"48e042e5df1d630db1e1bf8a0787632b57220432","author":{"name":"wangyi0226","email":"81b2d5c25ecb9404a1c4e8926a2f7632f2538ae5@163.com"},"message":"Merge pull request #45 from cloudwu/master\n\nmerge","distinct":true,"url":"https://api.github.com/repos/wangyi0226/skynet/commits/48e042e5df1d630db1e1bf8a0787632b57220432"}]}
{"actor":{"display_login":"wangyi0226"}}