kc3-lang/libevent

Branch :


Log

Author Commit Date CI Message
f5c0d6c3 2014-03-21 11:45:31 Merge pull request #116 from trondn/cmake-build-fixes Cmake build fixes
73474042 2014-03-21 12:12:10 Fixup make install for cmake projects Install all of the public headers and put the dll's in the same directory as the binaries.
dc82c8d3 2014-03-21 11:59:55 Renamed sin to saddr due to name conflict During building on MSVC 2013 I got a compiler error by a type conflict for sin: test-fdleak.c(60) : error C2365: 'sin' : redefinition; previous definition was 'function' test-fdleak.c(134) : error C2070: 'double (__cdecl *)()': illegal sizeof operand test-fdleak.c(134) : error C2198: 'evconnlistener_new_bind' : too few arguments for call test-fdleak.c(148) : error C2070: 'double (__cdecl *)()': illegal sizeof operand test-fdleak.c(148) : error C2168: 'memcpy' : too few actual parameters for intrinsic function test-fdleak.c(149) : error C2224: left of '.sin_family' must have struct/union type test-fdleak.c(212) : error C2070: 'double (__cdecl *)()': illegal sizeof operand test-fdleak.c(212) : error C2198: 'bufferevent_socket_connect' : too few arguments for call test-fdleak.c(239) : error C2070: 'double (__cdecl *)()': illegal sizeof operand test-fdleak.c(239) : error C2168: 'memset' : too few actual parameters for intrinsic function test-fdleak.c(240) : error C2224: left of '.sin_family' must have struct/union type test-fdleak.c(241) : error C2224: left of '.sin_addr' must have struct/union type test-fdleak.c(242) : error C2224: left of '.sin_port' must have struct/union type The simplest solution to this problem would be to rename the variable.
6a1c4d50 2014-03-18 18:36:32 Correctly skip ipv6 http test on systems without ipv6
e5302ac7 2014-03-18 12:35:39 Remove integer-overflow unit tests There's not much point checking undefined behavior.
31c49150 2014-03-18 12:27:14 evtag: detect tags over 32-bits earlier
e660db6d 2014-03-18 11:39:23 Catch over-large port numbers early in http Otherwise integer overflow potentially turns the port number into garbage.
58fc9b6c 2014-03-18 11:35:50 Fix ubsan warnings when parsing ipv4/ipv6 addrs left-shifting a one-byte integer by 24 invokes undefined behavior. Let's not do that.
ec99dd82 2014-03-18 11:25:58 Fix a use-after-free error on EV_CLOSURE_EVENT_FINALIZE callbacks After running the callback, we were checking evcb->evcb_closure to decide whether to call mm_free(ev). But the callback itself might have freed ev, so we need to grab that field first Found with AddressSanitizer
860c71c8 2014-03-18 11:13:45 Fix an illegal read error in the evbuffer_add_reference tests Found with AddressSanitizer