{"action":"opened","issue":{"url":"https://api.github.com/repos/umurmur/umurmur/issues/95","repository_url":"https://api.github.com/repos/umurmur/umurmur","labels_url":"https://api.github.com/repos/umurmur/umurmur/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/umurmur/umurmur/issues/95/comments","events_url":"https://api.github.com/repos/umurmur/umurmur/issues/95/events","html_url":"https://github.com/umurmur/umurmur/issues/95","id":174839475,"number":95,"title":"Crash if a Windows 1.2.16 client connects","user":{"login":"viric","id":66664,"avatar_url":"https://avatars.githubusercontent.com/u/66664?v=3","gravatar_id":"","url":"https://api.github.com/users/viric","html_url":"https://github.com/viric","followers_url":"https://api.github.com/users/viric/followers","following_url":"https://api.github.com/users/viric/following{/other_user}","gists_url":"https://api.github.com/users/viric/gists{/gist_id}","starred_url":"https://api.github.com/users/viric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viric/subscriptions","organizations_url":"https://api.github.com/users/viric/orgs","repos_url":"https://api.github.com/users/viric/repos","events_url":"https://api.github.com/users/viric/events{/privacy}","received_events_url":"https://api.github.com/users/viric/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-02T20:14:54Z","updated_at":"2016-09-02T20:14:54Z","closed_at":null,"body":"There is a crash in strncpy in a build with shm (--enable-shmapi), when a Windows 1.2.16 client connects. I guess it has something to do with the client certificate there created.\r\n\r\n```\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x00007ffff6df194f in __strncpy_sse2_unaligned () from /nix/store/gwl3ppqj4i730nhd4f50ncl5jc4n97ks-glibc-2.23/lib/libc.so.6\r\n(gdb) bt\r\n#0  0x00007ffff6df194f in __strncpy_sse2_unaligned () from /nix/store/gwl3ppqj4i730nhd4f50ncl5jc4n97ks-glibc-2.23/lib/libc.so.6\r\n#1  0x0000000000416e81 in Sharedmemory_update () at sharedmemory.c:72\r\n#2  0x000000000040ad8d in Server_runLoop (pollfds=0x64ad50) at server.c:205\r\n#3  0x000000000040b596 in Server_run () at server.c:336\r\n#4  0x0000000000407958 in main (argc=4, argv=0x7fffffffc478) at main.c:368\r\n(gdb) up\r\n#1  0x0000000000416e81 in Sharedmemory_update () at sharedmemory.c:72\r\n72                                      strncpy( shmptr->client[cc].username, client_itr->username, 120 );\r\n(gdb) print shmptr->client[cc].username\r\n$3 = '\\000' <repeats 120 times>\r\n(gdb) print client_itr->username\r\n$4 = 0x0\r\n```"}}
{"actor":{"display_login":"viric"}}